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]
 


Reply via email to