Hello Alon, The short answer is no, however if you have a look at the SAX website [1] the latest docs state that SAX 2.1 (a version which doesn't exist yet as far as I know) defines something called exception IDs that you can use to identify the error emitted by the parser. The identifiers are strings which correspond to the well-formedness and validity constraint rules from the XML 1.0 and XML Namespaces rec, but no official list has been generated. I'm not sure what the plan is for another version of SAX, but it doesn't seem like it will be completed anytime soon. You could always ask a question on the SAX mailing lists [2].
Hope that helps. [1] http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html [2] http://sourceforge.net/projects/sax/ On Wed, 3 Dec 2003, Avitzur Alon wrote: > Is it possible to obtain the error code from the SAXParseException, other > than parsing the error message? > > Thanks, > Alon. --------------------------- Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
