File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Problem with XALAN parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem with XALAN parser" Watch "Problem with XALAN parser" New topic

Problem with XALAN parser

Rajalakshmi Balasubramanian

Joined: Sep 07, 2004
Posts: 4
I am trying to migrate WSAD 4.0 to WSAD 5.1. My application works just fine in WSAD 4.1, but in 5.0 while trying to parse the XML, it throws the following exceptions:

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token.

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
I agree. Here's the link:
subject: Problem with XALAN parser
jQuery in Action, 3rd edition