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 Rhinorhino 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
Joined
Jul 20, 2001
Messages
305
Location
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.

Similar threads

Replies
4
Views
346
Replies
0
Views
179
Replies
1
Views
267
Replies
3
Views
344

Part and Inventory Search

Sponsor

Back
Top