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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Attribute value normalization

[ Lists Home | Date Index | Thread Index ]
  • From: Lars Marius Garshol <larsga@ifi.uio.no>
  • To: xml-dev@ic.ac.uk
  • Date: 27 May 1998 15:28:18 +0200


* Murata Makoto
|
| Good to hear that.  What happens if the keyword NMTOKENS is replaced
| with CDATA?

* Richard Tobin
| 
| RXP and LT-XML produce (in canonical XML - I should have thought of
| that last time):
| 
| [canonical XML snipped]

xmlproc and XP produce the exact same output.
 
| Expat agrees.

Case seems closed, then, with five XML parsers in agreement, although
I'm still not sure the treatment of the second a attribute is
correct. The phrase

    "only a single #x20 is appended for a "#xD#xA" sequence that is
    part of [...] the literal entity value of an internal parsed
    entity"

in the spec seems to imply that the second element with the attribute
should be 

<test a="  test  test  ">

in canonical form rather than the

<test a="    test    test    ">

produced by the parsers.


Is this a (highly understandable) bug or is it correct?

-- 
"These are, as I began, cumbersome ways / to kill a man. Simpler, direct, 
and much more neat / is to see that he is living somewhere in the middle /
of the twentieth century, and leave him there."     -- Edwin Brock

 http://www.stud.ifi.uio.no/~larsga/      http://birk105.studby.uio.no/


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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