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] UTF-8+names

[ Lists Home | Date Index | Thread Index ]

At 2:18 PM -0700 10/18/03, Tim Bray wrote:


>Nope, &&; in the UTF-8+names encoding represents a single & 
>character. < represents nothing but <, since it's not defined 
>to represent anything else by UTF-8+names.  ü represents the 
>single u-with-umlaut character, because that's inherited from HTML. 
>-Tim

I'm still not convinced. These two documents are the same:

<?xml version="1.0" encoding="UTF-8"?>
<root><</root>

<?xml version="1.0" encoding="UTF-8+names"?>
<root>&lt;</root>

Both are malformed. In order to make this well-formed we need a 
double ampersand:

<?xml version="1.0" encoding="UTF-8+names"?>
<root>&&lt;</root>

Or am I missing something?
-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




 

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

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