You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/10/22 15:50:50 UTC

[jira] Updated: (TUSCANY-152) Java SDO generation from XML Schema needs schema validation.

     [ https://issues.apache.org/jira/browse/TUSCANY-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-152:
-----------------------------------

    Component/s:     (was: Java SDO Implementation)
                 Java SDO Tools

> Java SDO generation from XML Schema needs schema validation.
> ------------------------------------------------------------
>
>                 Key: TUSCANY-152
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-152
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SDO Tools
>         Environment: SVN HEAD java
>            Reporter: Rick Rineholt
>             Fix For: Java-SDO-Next
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org