On Thursday, December 13, 2001, at 12:16 PM, Tom Bradford wrote:
It looks as though the Xerces 2 SAX parser is reporting the namespaceURI
for xmlns:<blah> as null.  I don't know if this is legal or not...  One
would think it should be reported as an empty string, but I'll follow up
with the Xerces team.  In either case, I'm working on a clean workaround
for it, which should be available within a half hour or so.

Ok, I've checked in a workaround for this namespace problem. There is a bug on file for Xerces 2 that describes this behavior, so hopefully when they get around to fixing it, I can back this code change out. Basically, I have to check every reported attribute for an xmlns prefix and then forcefully set the attribute in the DOM using a qualified name instead of a local name.


It'll slow things down a tad, but it'll work.

--
Tom Bradford - http://www.tbradford.org
Developer - Apache Xindice (formerly dbXML)
Maintainer - jEdit-Syntax Java Editing Bean



Reply via email to