cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manish Shah <man...@catylist.com>
Subject SAXParseException
Date Wed, 04 Sep 2002 18:21:17 GMT
Hello all,


I am getting the following exception when trying to do a xml/xsl
transformation. The XML and XSL are correct. Anyone know why else it
would be happening?

Thanks.

Manish


rg.xml.sax.SAXParseException: The root element is
required in a well-formed document.
        at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
        at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
        at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.endOfInput(XMLDocumentScanner.java:943)
        at
org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentScanner.java:417)
        at
org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifications(XMLValidator.java:565)
        at
org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEntityHandler.java:1026)
        at
org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.java:168)
        at
org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharReader.java:150)
        at
org.apache.xerces.readers.AbstractCharReader.skipPastSpaces(AbstractCharReader.java:364)
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:896)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
        at
org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
        at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
        at
org.apache.cocoon.producer.AbstractProducer.getDocument(AbstractProducer.java:97)
        at org.apache.cocoon.Engine.handle(Engine.java:359)
        at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
        at
com.orionsupport.cocoon.CocoonServlet.service(CocoonServlet.java:73)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:336)


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message