Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 95142 invoked by uid 500); 4 Sep 2002 18:57:27 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 95131 invoked from network); 4 Sep 2002 18:57:27 -0000 Message-ID: <3D765728.2070600@gmx.de> Date: Wed, 04 Sep 2002 20:55:36 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de, en, en-us MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: SAXParseException References: <1031163678.2134.29.camel@localhost.localdomain> <3D764DB1.991F81A9@morganstanley.com> <3D7654AB.8030503@kaon.com> <1031166071.2134.51.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You're including the XSLs via entities? Why? It's really a very bad approach!! There exist some things like or . Regards, Joerg Manish Shah wrote: > Hey Ilya, > > I posted my xml file. Let me post my XSL file. There are include in the > file, used as entities. Let me know if any/all of these should be posted > as well. > > Also, is there a Cocoon log? > > Manish > > On Wed, 2002-09-04 at 13:44, Ilya A. Kriveshko wrote: > >>Don't forget that the XML that is produced by the transformation also >>has to be well-formed. It is possible that your source XML and XSL are >>well-formed but the output XML isn't. Make sure that you don't produce >>several root tags in the output and that you don't output plain >>character data before or after the root element. >>If this doesn't help, do you care to post your files? >>-- >>Ilya >> >>Abhishek Goel wrote: >> >> >>>your xml is not well formed.. >>> >>>Manish Shah wrote: >>> >>> >>> >>> >>>>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. >>>> >>>>To unsubscribe, e-mail: >>>>For additional commands, e-mail: >>>> >>>> >>>>--------------------------------------------------------------------- >>>>Please check that your question has not already been answered in the >>>>FAQ before posting. >>>> >>>>To unsubscribe, e-mail: >>>>For additional commands, e-mail: >>>> >> >> >>--------------------------------------------------------------------- >>Please check that your question has not already been answered in the >>FAQ before posting. >> >>To unsubscribe, e-mail: >>For additional commands, e-mail: >> >> > > > ------------------------------------------------------------------------ > > ]> profilers/common/css/cie_profiler.css > multipart/form-data > profilers/agent/jsp/agentProfiler.jsp?currentCategory=&listingID=&editID= > &error; > Items marked with an * are required fields. > > &nav; &help; &navButtons; > > &categorytitle; > &textfield;&textarea;&checkbox;&radio;&select;&submit;&file;&help_popup; > > &personalPhoto; &companyLogo; > > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: