OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   SAX Validation

[ Lists Home | Date Index | Thread Index ]
  • From: Mark Papiani <mp@ecs.soton.ac.uk>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 30 Nov 1999 09:52:05 +0000

I believe that one of the advantages of SAX parsers is that they report
parsing events via callbacks and 
can consume far less memory than DOM based parsers that build an in
memory parse tree. 

My question has to do with when validation errors are reported by SAX
parsers. For example, if the closing tag of the root element is missing
from an XML document, would a SAX parser only report that the document
was invalid, after it had reported all the other valid parsing events
for the rest of the document?

Thanks,

Mark Papiani
Department of Electronics and Computer Science
University of Southampton
mp@ecs.soton.ac.uk

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS