[jira] Commented: (TUSCANY-1351) Some CTS tests are tuscany specific due to namespace prefix assumptions

2007-06-19 Thread Andy Grove (JIRA)

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

Andy Grove commented on TUSCANY-1351:
-

I have made some more substantial changes to XMLHelperTest and 
XMLEqualityChecker:

- XMLEqualityChecker now sets the parser to be namespace aware
- XMLEqualityChecker now throws a meaningful exception when a difference is 
encountered, rather than returning false
- Special handling for xsi:type now compares the type name but ignores the 
namespace prefix

 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-v2.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]



[jira] Commented: (TUSCANY-1351) Some CTS tests are tuscany specific due to namespace prefix assumptions

2007-06-19 Thread Kelvin Goodson (JIRA)

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

Kelvin Goodson commented on TUSCANY-1351:
-

Andy,
   could you attach the source for XMLDifferenceException please.
Kelvin

 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-v2.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]