On Wed, Aug 19, 2009 at 6:28 AM, <[email protected]> wrote: > I like the &#x; idea. There is just one potential problem: will XML > readers support it? The linked XML spec has the same restrictions on > encoded character entities as on raw characters appearing in the file. > Does anyone know if that restriction is honored in practice? Anyone > want to test on Xerces?
I don't have a parser lying around to prove this to myself, but I don't think \0 => � will work. � is just a way to type the zeroth character when you don't have a zeroth-character-key on your keyboard. A conforming XML parser will convert it into the zeroth character and then yell at you, just as if the zeroth character were in the text all along. I tried something similar a while back with some arbitrary parser and things blew up on me. Ian --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
