[ http://issues.apache.org/jira/browse/TUSCANY-152?page=all ]

Jean-Sebastien Delfino updated TUSCANY-152:
-------------------------------------------

    Fix Version: Mx
        Version: Mx

> Java SDO generation from XML Schema needs schema validation.
> ------------------------------------------------------------
>
>          Key: TUSCANY-152
>          URL: http://issues.apache.org/jira/browse/TUSCANY-152
>      Project: Tuscany
>         Type: New Feature

>   Components: Java SDO Implementation
>     Versions: Mx
>  Environment: SVN HEAD java
>     Reporter: Rick Rineholt
>      Fix For: Mx

>
> Using the generation through the WSDL tool it appears the XML schema can have 
> invalid schema and still the generator produces code. The particular case I 
> had was the an element that had this case 
> <element name="foo" type="tns:bar />
> <element  name='bar' >...</element>
> Note for it to be valid the bar should have been a complexType.  The code 
> generated seem to create a Foo that was java.lang.Object.  

-- 
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

Reply via email to