[ https://issues.apache.org/jira/browse/TUSCANY-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fuhwei Lwo updated TUSCANY-1223: -------------------------------- Attachment: 1223.patch In order to comply to SDO 2.1 spec, I have removed the new SDO Base64Binary type that was mapped to XSD base64Binary type. Based on the spec, both XSD base64Binary and hexBinary types are mapped to SDO Bytes type. In order to distinguish between Bytes for base64Binary and Bytes for hexBinary, I added an annotation to the property (type==base64Binary) during loading the metadata. Later on, I fixed the loader and serializer to handle the property value based on the new annotation. I also included two test cases to test out both base64Binary and hexBinary types properties. Please review. Thanks. Fuhwei Lwo > XSD base64Binary type mapping to wrong SDO type > ----------------------------------------------- > > Key: TUSCANY-1223 > URL: https://issues.apache.org/jira/browse/TUSCANY-1223 > Project: Tuscany > Issue Type: Bug > Components: Java SDO Implementation > Reporter: Andy Grove > Priority: Minor > Attachments: 1223.patch > > > The XSD base64Binary type should map to the SDO type commonj.sdo#Bytes but > Tuscany is mapping it to commonj.sdo#Base64Bytes which is not mentioned in > the SDO specification. > This is demonstrated in the CTS in > XSDComplexTypeTest.testTC297ComplexTypeContainingElementsOfAllTypes -- 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]