OK I've run into a pretty nasty problem with XML::Xerces when parsing in a CGI script using a SAX2 parser: in brief, the parser seems to ignore totally any character data in a document that contains UTF-8 characters.
So, when the characters callback is invoked, it passes an empty string in the 2nd argument, and a rather incorrect looking value in the final length argument. Bizarrely, if I invoke the same parser from a command line script, with the same data, it works fine and UTF-8 data is returned correctly. Any ideas ? I have to admit that I'm completely stumped with this one, and I would have thought that someone would have noticed it before me, so maybe, just maybe, I'm doing something v. silly, but I can't think what at the moment. -- Regards Stephen Collyer Netspinner Ltd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
