SAX: finalising org.sax.xml.Parser

Peter Murray-Rust peter at ursus.demon.co.uk
Wed Feb 25 18:47:36 GMT 1998


At 16:10 25/02/98 +0000, Juergen Modre wrote:
[...]
>- setValidate(true);
>  That the document/stream should also be validated during parsing.
>
>The question where there is exactly the border between well-formedness
>parsing and validation parsing should be left to the parser. This border
>can be found in the XML spec.
>The SAX interface is/should be useable for both classes of XML parsers
>and give also the possibility to enable/disable validation.
>
>
>But I agree that it is sometimes not easy to see the clear border
>between well-formedness parsing and validation parsing in the XML spec.
>
This is an area that I (and I think others) have difficulty with, although
I think there are many who are clear how different parsers behave. This
also interacts with the 'standalone' value in the xml PI. There is also
some potential confusion as to when and how the presence/absence of the
external subset makes a difference.

If my worries are unfounded, then it should be possible to create a precise
description of what parameters, files, internal subsets etc. and need to
control the behaviour of a SAX-compliant parser and what it should do. In
which case it would be very helpful to see it set out clearly and I'll shut
up.  If, however, there still is confusion then we shall discover it in
these attempts :-)

P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list