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: Richard Tobin <richard@cogsci.ed.ac.uk>
  • To: Lars Marius Garshol <larsga@ifi.uio.no>, xml-dev@ic.ac.uk
  • Date: Wed, 27 May 1998 15:20:59 +0100 (BST)

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

The implementations are correct.

The key here is the word "literal".  None of the internal entities
contains that sequence (ie carriage-return followed by linefeed)
*literally* - ie in the very text between the quotes in the entity
definition.  (There should be a link from the text in section 3.3.3 to
the definition of literal entity value in 4.5.)  The DA entity contains
that sequence in its replacement text, but not in its literal value.

A "natural" (to me, anyway) implementation will not have to do
anything at all to comply with the phrase quoted above, because it
will already have reduced literal #xD#xA sequences to #xA before
parsing.

-- Richard

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