[Home] [By Thread] [By Date] [Recent Entries]
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><</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>&<</root> Or am I missing something? -- Elliotte Rusty Harold elharo@m... Processing XML with Java (Addison-Wesley, 2002) http://www.cafeconleche.org/books/xmljava http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
|

Cart



