Conversion between SDO String and Strings type is not working -------------------------------------------------------------
Key: TUSCANY-1932 URL: https://issues.apache.org/jira/browse/TUSCANY-1932 Project: Tuscany Issue Type: Bug Components: Java SDO Implementation Affects Versions: Java-SDO-1.0 Environment: WinXP Reporter: Fuhwei Lwo Attachments: XMLSimpleTypeTest.java, XMLTypes.xsd According to SDO spec, DataObject.getString() and setString() on SDO "Strings" type (xsd:NMTOKENS) property (implemented by java.util.List) should automatically convert between java.lang.String and java.util.List. For example, invoking DataObject.getString() on xsd:NMTOKENS property with list value of [token1, token2, token3] should return the string value as "token1 token2 token3" delimited by space. String value = dataObject.getString(stringsProperty); // Should return "token1 token2 token3" Similarly, invoking DataObject.setString() on xsd:NMTOKENS property with string value like "token1 token2 token3" should set the property value to the list of [token1, token2, token3]. dataObject.setString(stringsProperty, "token1 token2 token3") // stringsProperty's value should be a list with value of [token1, token2, token3] -- 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]