Hey Stephen,

I believe "UTF8" is the correct spelling. Can someone else confirm
that? Or is this a red herring.

Cheers, jas.

On Sun, Jun 22, 2008 at 5:10 PM, Stephen Collyer
<[EMAIL PROTECTED]> wrote:
> I have a SAX2 parser which is exhibiting odd behaviour.
>
> If I give it some XML with an XML declaration like:
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> it fails with a "Invalid document structure" error.
> If I remove the encoding element, then it parses correctly.
>
> Can anyone suggest what the problem is ? I'm assuming
> that this is some interaction between the validator and
> the encoding, but I'm baffled as to what, precisely.
>
> This is occuring with Xerces-c 2.7.0.
>
> --
> Regards
>
> Steve Collyer
> Netspinner Ltd
>

Reply via email to