incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svante Schubert (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (ODFTOOLKIT-302) getNamespaceURI() implementation in ODFDOM is not aware of duplicate namespace prefixes
Date Thu, 05 Apr 2012 23:42:23 GMT


Svante Schubert resolved ODFTOOLKIT-302.

    Resolution: Fixed
      Assignee: Devin Han  (was: Svante Schubert)


could you please verify if your problem is now fixed in the trunk?

> getNamespaceURI() implementation in ODFDOM is not aware of duplicate namespace prefixes
> ---------------------------------------------------------------------------------------
>                 Key: ODFTOOLKIT-302
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: odfdom, unittest
>    Affects Versions: 0.8.8
>         Environment: Ubuntu 11.04 64 bit, Intel i5, OpenJDK 1.6.0_20
>            Reporter: Ashok Hariharan
>            Assignee: Devin Han
>              Labels: java, odf, patch, test, test-patch
>             Fix For: 0.8.8
>         Attachments: XPathTest-duplicate-prefix.odt, odffiledom-patch.txt, xpathtest-case-patch.txt
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> The getNamespaceURI() implementation in OdfFileDom is not aware of duplicate namespace
prefixes. It is aware only of the default namespace prefixes, despite there being support
for duplicate namespace prefixes in the implementation of OdfFileDom.
> I am submitting a patched test case "xpathtest-case-patch.txt" and the corresponding
odt file used by the test.
> To simulate the problem --
> 1) apply the patch xpathtest-case-patch.txt on the ODFDOM source
> 2) put the XPathTest-duplicate-prefix.odt in odfdom/src/test/resources
> 3) Run the src/test/java/org/odftoolkit/odfdom/dom/ unit test. It fails.
> 4) apply the patch odffiledom-patch.txt on OdfFileDom and run the unit test again. It
> I have added explanatory comments in the patched unit test and the patched getNamespaceURI().

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message