URI string not passed in SAX 2 endElement callback
Brought to you by:
dmegginson
The URI string in the SAX 2 endElement callback is empty
on tags that don't contain a prefix when defining a
default namespace. The URI string is properly passed
in the startElement notification. I discovered this parsing
a wsdl document ex.
<definitions name="FooService"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<portType name="fooPortType"
...
</portType>
</definitions>
The startElement on pprtType properly sets the URI
paramater to "http://schemas.xmlsoap.org/wsdl/" but
the endElement has it set to "". I would think the
endElement should have the same URI string.
My email address is pvosbur@hotmail.com. Your
help here would be greatly appreciated.
Regards,
Peter VosBurgh
Logged In: YES
user_id=226817
This appears to be a bug in the specific SAX parser you are
using, not SAX itself. Please refile the big with the parser
vendor.
Logged In: NO
sax