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

  • From: John Cowan <jcowan@r...>
  • To: Kay Michael <Michael.Kay@i...>
  • 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
			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@r...>
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@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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