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

Andy Grove updated TUSCANY-1351:
--------------------------------

    Attachment: tuscany-1351.patch

Patch that resolves this issue by removing prefix-specific comparisons and 
instead just relies in comparison of namespace uri and local name. Also remove 
duplicate code that checked the namespace.

> Some CTS tests are tuscany specific due to namespace prefix assumptions
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-1351
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1351
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Community Test Suite
>            Reporter: Andy Grove
>         Attachments: tuscany-1351.patch
>
>
> A number of CTS tests fail against implementations that use different 
> namespace prefixes than Tuscany when serializing documents, even though the 
> correct namespaces are referenced.
> For example, XMLHelperTest.testDefineType expects the root element of a 
> serialized document to be defined as :
> <customer:Customer xmlns:customer="http://example.com/customer"; >
> If an implementation uses a different prefix then the test fails. For 
> example, this will fail, even though it is valid:
> <ns0:Customer xmlns:ns0="http://example.com/customer"; >
> The XMLEqualityChecker should be updated to ignore the specific prefix used.

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

Reply via email to