[ http://issues.apache.org/jira/browse/TUSCANY-535?page=comments#action_12425313 ] Frank Budinsky commented on TUSCANY-535: ----------------------------------------
Applied latest patch in revision 428070. I also made the change described in TUSCANY-577 to this version. I'm not sure this works properly. Here are a couple of things I noticed at first glance: 1. Why does the testXSDGeneration_DynamicWithNestedStaticSDOType() generate this (in addition to the "http://www.example.com/dynamic" schema): <xs:schema xmlns:sdo="commonj.sdo" xmlns:sdoJava="commonj.sdo/java" xmlns:stn_4="http://www.example.com/simple" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" sdoJava:package="com.example.simple" targetNamespace="http://www.example.com/simple"> <xs:include schemaLocation="http://www.example.com/simple/xsd"/> </xs:schema> 2. Since it calls the generate method passing a namespaceToSchemaLocationMap: schemaLocationMap.put("http://www.example.com/simple", "http://www.example.com/simple/xsd"); xsd = xsdHelper.generate(types, schemaLocationMap); Why does this generated import not include a schemaLocation attribute: <xs:import namespace="http://www.example.com/simple"/> > Implement XSDHelper.generate() method for generating XSD from SDO types > ----------------------------------------------------------------------- > > Key: TUSCANY-535 > URL: http://issues.apache.org/jira/browse/TUSCANY-535 > Project: Tuscany > Issue Type: Improvement > Components: Java SDO Implementation > Affects Versions: Java-Mx > Reporter: Venkatakrishnan > Attachments: Tuscany-SDO-Impl-Patch-Jul-11.diff, > Tuscany-SDO-Impl-Patch-Jul-16.diff, Tuscany-SDO-Impl-Patch-Jul-30.diff > > > Implement the XSDHelper.generate() method for generating XSDs from SDO Types -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
