[Home] [By Thread] [By Date] [Recent Entries]
David Megginson wrote: > > 4. Modify SAXParseException so that it also has an integer value > containing the error number. If there ever is a standard catalog > of XML (and related) errors, we can use this to hold the number. That one I sort of like ... except that it shouldn't be done without having such a catalogue, and a means to update it! In my experience, API hooks which are incomplete are _always_ trouble; and identifier namespaces (like error numbers) need to have ways to evolve over time. I'd start such a catalogue by identifying every error case in the XML specification. Syntax errors might need subcases, since each grammar production could generate multiple errors, but for each WFC and VC it's easy to justify separate error identifiers. However: do we have experience with applications which _can_ usefully do more with fatal errors than throw up their hands? Or with nonfatal ones (including validation errors) than optionally report them? Use cases there should IMHO drive this issue. - Dave xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



