[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: SAXParseException

Subject: Re: SAXParseException
From: Manish Shah <manish@xxxxxxxxxxxx>
Date: 27 Aug 2002 10:13:17 -0500
manish shah
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

Any other ideas?


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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.