[Home] [By Thread] [By Date] [Recent Entries]


/ Elliotte Harold <elharo@m...> was heard to say:
| I don't know about W3C schemas, but the XML spec is not at all clear that a
| non-deterministic content model in a DTD is an error. Indeed some versions of
| Xerces have not so flagged it.

From 3.2.1 of XML 1.0 3e, it seems pretty clear to me:

   For compatibility, it is an error if the content model allows an
   element to match more than one occurrence of an element type in the
   content model.

Granted, "for compatibility" says, in short, we didn't have to do it
this way, but we did for SGML compatibility. I don't think that
negates the normative weight of the rest of the sentence though.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | For a successful technology, reality
http://nwalsh.com/            | must take precedence over public
                              | relations, for Nature cannot be
                              | fooled.--Richard Feynman

PGP signature


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member