DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14050>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14050

SAXParser endElement call does not include namespace uri

           Summary: SAXParser endElement call does not include namespace uri
           Product: Xerces2-J
           Version: 2.2.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Sample xml:
--- snip ---
<?xml version="1.0" encoding="utf-8" ?>

<D:principal-property-search xmlns:D="DAV:" >
    <D:prop><D:displayname/></D:prop>
</D:principal-property-search>
--- snip ---

Run via Document Tester in Xerces 2.2.0:
--- snip ----
setDocumentLocator(locator=org.apache.xerces.parsers.AbstractSAXParser$LocatorPr
oxy@4d2c3c)
startDocument()
 startPrefixMapping(prefix="D",uri="DAV:")
 startElement(uri="DAV:",localName="principal-property-search",qname="D:principa
l-property-search",attributes={})
  characters(text="\n    ")
  startElement(uri="DAV:",localName="prop",qname="D:prop",attributes={})
   startElement(uri="DAV:",localName="displayname",qname="D:displayname",attribu
tes={})
   endElement(uri="DAV:",localName="displayname",qname="D:displayname")
  endElement(uri="",localName="prop",qname="D:prop")
  characters(text="\n")
 endElement(uri="",localName="principal-property-search",qname="D:principal-prop
erty-search")
 endPrefixMapping(prefix="D")
endDocument()
--- snip ---
*** note the endElement for prop is broken - no uri.

If I run this with Xerces 2.1.0, all is well, and the endElement for prop has 
the proper uri set.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to