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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Possible changes for XML 2nd Edition

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <jcowan@reutershealth.com>
  • To: Kay Michael <Michael.Kay@icl.com>
  • Date: Thu, 25 May 2000 11:15:09 -0400

Kay Michael wrote:

> E62, which requires the separator in Names and NMTOKENS to be a single space
> rather than any sequence of whitespace characters, looks like a rather major
> incompatibility to me!

The change is in fact a subtle one: it affects only the *value* of an attribute,
which is what you have after the attribute-normalization process described
in clause 3.3.3 is performed.  (Note that 3.3.3 has been clarified by E24 and E61.)

Consequently, although

	<element magic="foo

where "magic" is of type ENTITIES, IDREFS, or NMTOKENS, will still work (and return
a value of "foo bar"), under E62 it is invalid to say:

	<element magic="foo&#10;&#9;&#9;&#9;bar"/>

Of course it is still well-formed.

Does anyone seriously think that the second example ought to be valid?


Schlingt dreifach einen Kreis um dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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