W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2000

Re: Possible changes for XML 2nd Edition

From: John Cowan <jcowan@reutershealth.com>
Date: Thu, 25 May 2000 11:15:09 -0400
Message-ID: <392D437D.9E3C7D5E@reutershealth.com>
To: Kay Michael <Michael.Kay@icl.com>
CC: "'John Cowan'" <cowan@locke.ccil.org>, xml-editor@w3.org, xml-dev@xml.org, w3t-comm@w3.org
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
			bar"/>

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)
Received on Thursday, 25 May 2000 11:16:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:30 GMT