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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Create XML

[ Lists Home | Date Index | Thread Index ]

Elliotte Rusty Harold <elharo@metalab.unc.edu> wrote:

| But since most attributes either are CDATA or are treated as CDATA, 
| that only works as long as there are no runs of more than one white 
| space character, and no leading or trailing white space. Attribute 
| value normalization by the parser rarely goes as far as XPath's 
| normalize-space does.

True, and arguably normalize-space doesn't go far enough either (though
enough for XPath only).  The basic distinction between CDATA and the other
declared value types has to do with (white-space delimited) tokenization.
XML 1.0 missed the boat here, in that tokenization still needs information
from the DTD.  We might have dedicated the LITA delimiters (single quotes)
for this as a purely syntactic distinction, for instance. 





 

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

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