[XOM-interest] Text - Character not allowed in XML Content

Daed Lee daed.lee at gmail.com
Fri Mar 7 10:44:41 EST 2008


0x3 is the ETX character. Where in the spec did you see that this is legal?

A quick search reveals:

http://www.sklar.com/blog/archives/96-XML-vs.-Control-Characters.html


On Fri, Mar 7, 2008 at 7:41 AM, Diego Campo <diego.campo at properazzi.com> wrote:
> Hi,
>
>  According to the XML spec., this character is legal, so I'm not
>  filtering it beforehand. But I'm finding this:
>
>  Exception in thread "Worker0" nu.xom.IllegalCharacterDataException: 0x3
>  is not allowed in XML content
>         at
>  nu.xom.Verifier.throwIllegalCharacterDataException(Verifier.java:154)
>         at nu.xom.Verifier.checkPCDATA(Verifier.java:205)
>         at nu.xom.Text._setValue(Text.java:126)
>         at nu.xom.Text.<init>(Text.java:62)
>
>  Cheers
>   Diego
>
>  _______________________________________________
>  XOM-interest mailing list
>  XOM-interest at lists.ibiblio.org
>  http://lists.ibiblio.org/mailman/listinfo/xom-interest
>


More information about the XOM-interest mailing list