|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: [Sax-devel] SAX - endDocument() confusion again
----- Original Message ----- From: "Toni Uusitalo" <toni.uusitalo@p...> To: "Elliotte Rusty Harold" <elharo@m...> Cc: <xml-dev@l...> Sent: Saturday, February 28, 2004 5:03 AM > I decided not to call startDocument/endDocument-pair when BOM or XML > declaration or setting forced encoding fails. Reason for this was I wanted > document's actual encoding to be known at the startDocument stage (as there > isn't necessarily xml declaration present of course). Then again I'm > talking about my SAX C library Parsifal which is far away from "official" > SAX java implementations. Good point. However, the docs say this: <quote> Note that the locator will return correct information only during the invocation SAX event callbacks after startDocument returns and before endDocument is called. The application should not attempt to use it at any other time. </quote> Karl
|
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


![Re: Re: [Sax-devel] SAX - endDocument() confusion again](/images/get_stylus.gif)





