Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saxon problem

Status
Not open for further replies.

Crundy

Programmer
Jul 20, 2001
305
GB
Hello,
I have some xml files and an xslt template. Both AxKit and XSelerator can convert the xml files without any problems, but when I attempt to convert them using Saxon (from a batch file) I get the following error for each file:

Failed while looking for xml-stylesheet PI
required character (found &quot;?&quot;) (expected &quot;<&quot;)
At line 1 in file:/g:/web/filename.xml
Transformation failed: org.xml.sax.SAXParseException: required character (found
&quot;?&quot;) (expected &quot;<&quot;)

Does anyone know what's wrong? C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
:) Fixed my own problem!

I just downloaded the latest version of Saxon, and it worked fine. Must have been a bug in one of the older versions. C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top