Commented: (XERCESJ-1177) SAXXMLStreamReader doesn 't always report namesp 2006-08-21 - By Michael Glavassevich (JIRA)
[ http://issues.apache.org/jira/browse/XERCESJ-1177?page=comments#action _12429338 ] Michael Glavassevich commented on XERCESJ-1177: -----------------------------------------------
Hua's patch on XERCESJ-1178 which I just commited should fix this problem.
> SAXXMLStreamReader doesn't always report namespace bindings correctly > --------------------------------------------------------------------- > > Key: XERCESJ-1177 > URL: http://issues.apache.org/jira/browse/XERCESJ-1177 > Project: Xerces2-J > Issue Type: Bug > Components: StAX > Reporter: Lucian Holland > > The code seems to assume that xmlns attributes will be in the attributes passed into the startElement method on the ContentHandler; AFACIT this is only the case if http://xml.org/sax/features/namespace-prefixes is set to true (false by default)[1] The result is that namespace bindings don't get noticed properly unless this feature is set to true. > [1] http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/Attributes.html
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http:/ /issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|