I don't think I copy the group on this message before, so I am repeating my
message to Chris:
I put the fix for this bug in CVS a couple of days ago.
Thanks,
Jeffrey Rodriguez
IBM Silicon Valley
XML Development
From: "Chris P. McCabe" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Xerces-J 1.1.2 bug in SAX parsing (ContentHandler.endElement)
Date: Thu, 20 Jul 2000 08:44:34 -0700
I am not a member of this mailing list at the moment, but I wanted to
make sure someone knew about a bug in the SAX parsing of Xerces-J
1.1.2. I'm surprised this made it through the regresssion tests.
The endElement method of ContentHandler has the same value for LocalName
and QName for non-empty elements. (namespace processing turned on)
Example Input:
<doc xmlns:foo="http://www.foo.com/NS/foo">
<foo:bar>
<foo:boo/>
</foo:bar>
</doc>
Printing out the LocalName and QName gives:
startElement LocalName: doc QName: doc
startElement LocalName: bar QName: foo:bar
startElement LocalName: boo QName: foo:boo
endElement LocalName: boo QName: foo:boo
endElement LocalName: foo:bar QName: foo:bar <-- LocalName should be
"bar"
endElement LocalName: doc QName: doc
--
Chris McCabe
Choice Hotels International
[EMAIL PROTECTED]
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com