[ http://issues.apache.org/jira/browse/XALANJ-1183?page=all ]

Brian Minchau updated XALANJ-1183:
----------------------------------

    Version: 2.4Dx
                 (was: Latest Development Code)

> AttList fails to convert namespace URIs
> ---------------------------------------
>
>          Key: XALANJ-1183
>          URL: http://issues.apache.org/jira/browse/XALANJ-1183
>      Project: XalanJ2
>         Type: Bug
>   Components: Other
>     Versions: 2.4Dx
>  Environment: Operating System: All
> Platform: All
>     Reporter: Sato Hiroshi
>     Assignee: Xalan Developers Mailing List

>
> org.apache.xml.utils.AttList fails to convert namespace URIs when they 
> represent
> "No namespaces". 
> For example, suppose AttList.getValue(String, String) method is invoked as
> attList.getValue("", "some-local-name").
> Then AttList is expected to invoke NamedNodeMap.getNamedItemNS(String, String)
> as m_attrs.getNamedItemNS(null, "some-local-name"), 
> while in current implementation it invokes m_attrs.getNamedItemNS("",
> "some-local-names") and results no suitable attribute nodes.
> No conversion of "" into null is performed, but it is required.
> This problem casts a blight upon codes like below:
> TransformerFactory.newInstance().newTransformer().transform(domSource, 
> saxResult);
> where saxResult's ContentHandler receives instances of AttList as arguments of
> invocation of startElement.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to