Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML parse validation

From: Andy Dingley <dingbat@----------.--->
To: NULL
Date: 1/9/2008 5:36:00 AM
On 9 Jan, 06:29, sarosh.shir...@gmail.com wrote:

> To Joseph: It's part of the requirement that such characters would
> come up.

I doubt this very much. The _character_ / codepoint "&x00" is a
different concept to the byte or octet "&x00". Although Unicode
encodings may well involve such a byte value at the level of the raw
wire protocol, they certainly don't allow it as a valid character
(sic, codepoint).

XML, at the level you describe it, is a character stream. In XML the
entity &#0; is a reference to this possible (albeit forbidden) 00
value as a _character_, not just a raw byte.

It sounds as if your problem here is an encoding problem (i.e. a
Unicode problem, not an XML problem), even before it gets as far as
being an XML well-formedness issue. Raw bytes 0f 00 are just bytes
(which might have some correct place in the encoding you're using) but
they're not intended to encode a resultant _character_ of 00, or the
same thing as a numeric entity of &#0;


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent