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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Attribute normalisation and character entities

[ Lists Home | Date Index | Thread Index ]
  • From: richard@cogsci.ed.ac.uk (Richard Tobin)
  • To: xml-dev@ic.ac.uk
  • Date: 26 Jan 2000 13:02:32 GMT

In article <003901bf6776$5d426f20$0201a8c0@tomshp>,
Thomas B. Passin <tpassin@idsonline.com> wrote:
>The XML rec says

For character references, the table in 4.4 specifies "Included" rather
then "Included in literal", but in any case, the first point in
section 3.3.3 ("a character reference is processed...") must be
explaining the same thing (rather than something that happens
afterwards), otherwise there would be no character references present.

The algorithm in 3.3.3 applied to a non-CDATA attribute

   "foo &#x9; bar"

will first replace the character reference with a tab character, so we
will have

  space tab space

Then the "further processing" will do nothing, because there are no
sequences of more than one space character.

The only way that the tab could become a space is if both the first
and third points of section 3.3.3 were applied to it, but the natural
reading is that those points are alternatives.

-- Richard
-- 
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

"The Internet is really just a series of bottlenecks joined by high
speed networks." - Sam Wilson

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/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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