Comment and PI in a Mixed or children elements...

Peter Murray-Rust peter at ursus.demon.co.uk
Fri May 8 23:45:01 BST 1998


Hi Crystian,

At 21:29 08/05/98 +-300, Crystian wrote:
>Hi,
>
>Can be comments or Processing Instructions in a element that his
declaration matches Mixed or children?

[... question snipped ...]

When I have questions like this I generally tend to see what happens with a
parser. The parser writers have spent a *lot* of time over the spec and the
current generation of parsers are very high quality. It's worth installing
2-3 and seeing if they all agree. 

There are a (very) few places where some parsers don't match the current
spec (especially those which are pre-XML1.0). But they (the parsers and
their authors) are much smarter than me. So I often use a computer to 'do
my thinking for me'

	P.

When SAX1.0 is released JUMBO2.0 will be able to support a number of
SAX-compliant parsers under it. It depends on the timescale that the
authors are able to manage. You can then compare how each parser behaves.

The areas of concern that use of multiple parsers will highlight are those
whose semantics are fuzzy. PaulP highlighted one - the question of what a
parser should do with SDD+internalSubset+externalSubset. This is an area
where it is likely that different parser writers might make different
implementations..

BTW I didn't answer the question, did I? :-) I think you will find it is
yes, but trust a parser and not me.



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