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

  • To: xml-dev@l...
  • Subject: Re: Summary of XML line break normalization, impact of xml:space="preserve"
  • From: Richard Tobin <richard@c...>
  • Date: Mon, 8 Sep 2003 18:15:09 +0100 (BST)
  • Cc:
  • In-reply-to: <200309081512.QAA31168@p...>
  • Organization: HCRC, University of Edinburgh

>Of course the &#xD might still be normalised (to a space, #x20)
>if it is in an attribute, attribute value normaltion is a different
>beast, and happens after parsing, unlike eol normalisation which happens
>before.

Attribute normalization is different, but character references to
whitespace characters don't get normalized to #x20.  It doesn't really
happen "after parsing" in the sense of PCDATA-style parsing having
been done first, though you might say it happens "after parsing" in
the sense that you can recognise the name=literal and then normalize
the literal.  

Section 3.3.3 gives the complete rules for parsing the literal.  See
also the examples at the end of that section.

-- Richard

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