commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (DIGESTER-44) [digester] [PATCH] NodeCreateRule does not correctly handle namespaced attributes
Date Fri, 09 Mar 2007 20:45:10 GMT

     [ https://issues.apache.org/jira/browse/DIGESTER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Yandell reopened DIGESTER-44:
-----------------------------------


> [digester] [PATCH] NodeCreateRule does not correctly handle namespaced attributes
> ---------------------------------------------------------------------------------
>
>                 Key: DIGESTER-44
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-44
>             Project: Commons Digester
>          Issue Type: Bug
>         Environment: Operating System: All
> Platform: All
>            Reporter: Kurt Zettel II
>            Priority: Minor
>             Fix For: 1.8
>
>         Attachments: attributeNSPatch.txt, attributeNSPatch2.txt
>
>
> Attributes within namespaces do not have their prefix preserved within the
> NodeCreateRule when Digester is namespace aware.  This is because
> element.setAttributeNS is called with the incorrect parameters.  Fixed by
> passing in URI, QualifiedName and Value instead of URI, LocalName and Value.
> -Changed NodeCreateRule.begin to call setAttributeNS with qualified name
> -added junit test NodeCreateRuleTestCase.testNamespacedAttribute
> -added test xml file: Test10.xml
> Attachment patch in cvs universal diff format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message