Attribute value normalization
MURATA Makoto
murata at apsdc.ksp.fujixerox.co.jp
Wed May 27 14:28:18 BST 1998
Lars Marius Garshol wrote:
> * Richard Tobin
> |
> | Here is the RXP/LT-XML output:
> |
> | [actual output snipped]
>
> FWIW, this agrees with the canonical XML that xmlproc outputs (after I
> modified it a couple of hours ago):
Good to hear that. What happens if the keyword NMTOKENS is replaced
with CDATA?
Here is the revised document.
<?xml version="1.0"?>
<!DOCTYPE test
[
<!ELEMENT test (#PCDATA|test)*>
<!ATTLIST test
a CDATA #IMPLIED>
<!ENTITY D "
">
<!ENTITY A "
">
<!ENTITY DA "
"> ]>
<test>
<test a="
test
test
"/>
<test a="&D;&A;&D;&A;test&D;&A;&D;&A;test&D;&A;&D;&A;"/>
<test a="&DA;&DA;test&DA;&DA;test&DA;&DA;"/>
<test a="

test

test

"/>
<test a="

test

test

"/>
<test a="

test

test

"/>
</test>
Makoto
Fuji Xerox Information Systems
Tel: +81-44-812-7230 Fax: +81-44-812-7231
E-mail: murata at apsdc.ksp.fujixerox.co.jp
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list