Nope. The correct spelling is "UTF-8" [1] which is what Stephen has in his document.
[1] http://www.iana.org/assignments/character-sets Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Jason Stewart" <[EMAIL PROTECTED]> wrote on 06/22/2008 01:47:30 PM: > 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
