|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAXParseException
Hey Trevor, That would be a good guess, but I'm not doing it programatically. I'm using COCOON to do the processing, passing in the XSL and the XML from a JSP. Any other ideas? Manish On Tue, 2002-08-27 at 04:54, Trevor Nash wrote: > On 26 Aug 2002 13:40:16 -0500, Manish Shah wrote: > > >I'm stumped! I am generating html using xsl/xml, and it's a pretty > >involved transformation. At random times, I get "SAXParseException: The > >root element is required in a well-formed document", but then below the > >exception, the generated html is actually there. Has anyone seen this > >before? I don't know where else to turn to. I'm not exactly sure how to > >show source, since there are a lot of includes . > > > This is guesswork since you have not told us anything about what the > input looks like: > > Is one of your input XML files, possibly read via document(), empty? > This would give rise to this message, but the XSLT may well carry on > to produce correct output. > > To fix it you have to put an element into the document, for example > > <none/> > > this depends on the logic of your stylesheet though. > > Trevor Nash > -- > Traditional training & distance learning, > Consultancy by email > > Melvaig Software Engineering Limited > voice: +44 (0) 1445 771 271 > email: tcn@xxxxxxxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








