commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36773] New: - [digester] [PATCH] NodeCreateRule does not correctly handle namespaced attributes
Date Thu, 22 Sep 2005 16:40:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36773

           Summary: [digester] [PATCH] NodeCreateRule does not correctly
                    handle namespaced attributes
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: minor
          Priority: P2
         Component: Digester
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: kzettel@spheris.com


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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