Richard Tobin scripsit:
> In XML 1.0, this is valid:> > <!DOCTYPE foo [> <!ELEMENT foo ANY>> <!ATTLIST foo att NMTOKENS #IMPLIED>> <!ENTITY b 'foo
bar'>> ]>> <foo att="&b;"/>> > but the corresponding document with … instead of 
 will> be invalid in 1.1.
Note that in both this case and Richard's other (well-formed only) case,
the character reference has to be inside an entity declaration to work:
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo att NMTOKENS #IMPLIED>
]>
<foo att="foo
bar">
is not valid in either 1.0 or 1.1 (the attribute value contains seven
characters of which the fourth is a CR).
--
Some people open all the Windows; John Cowan
wise wives welcome the spring jcowan@[...].com
by moving the Unix. http://www.reutershealth.com
--ad for Unix Book Units (U.K.) http://www.ccil.org/~cowan
(see http://cm.bell-labs.com/cm/cs/who/dmr/unix3image.gif)
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>