xsl-list
[Top] [All Lists]

Re: still getting problem

2002-09-04 10:38:52
Try to separate all your files to find the bug in your documents. For example you could view the XSL or the sitemap.xmap in IE. What sitemap match pattern are you using? Try to remove all transformers and simply use the JSP generator + the XML serializer. We can't say anymore. We only see that any of your documents is not well-formed.

Furthermore it's off topic. Try to use the Cocoon mailing-list. But with this problem you won't get any other answer.

Regards,

Joerg


Manish Shah wrote:
Hi all,

I'm still getting the SAXParseException, as stated in previous emails. I
sent out the xml/xsl before as well. Here's the exception, I'll send the
xml/xsl. But, does anyone know why this would be happening?
Also, I'm using cocoon to do the xml/xsl processing, what other
java-based transformers can I use to automatically generate html from
xml/xsl?

org.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)

Thanks.

Manish



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg(_dot_)heinicke(_at_)virbus(_dot_)de
www.virbus.de


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>