Hi,
 In the XSD in the prev. mails I see the sdo annotation called
sdoXML:name.  Is this in the specs?  To the best of my knowledge the
annotation to be used there, as per the specs is 'sdoJava:instanceClass'.
Please clarify.

Thanks

- Venkat



On 8/5/06, Yang ZHONG (JIRA) <tuscany-dev@ws.apache.org> wrote:

    [
http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425944]

Yang ZHONG commented on TUSCANY-576:
------------------------------------

The Java version of SDO spec 2.01says "The XSD names are preserved in the
Type and Property. Use the sdo:name override to
modify names as an option to remove duplicate names, blank names, or names
with
special characters." (XSD Mapping Details on page 104)

Thank Fuhwei for having verified that sdo:name works, and I agree with
Jeremy that the issue is resolved (by using sdo:name) and we can close the
JIRA.

> Bad java class name when XSD name contains dot ('.') characters.
> ----------------------------------------------------------------
>
>                 Key: TUSCANY-576
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-576
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-M2
>            Reporter: Mauro Franceschini
>
> I've generated java interface and classes starting from an XML Schema
file that contains the following complex type declaration:
> <xs:complexType name="CBIBonOrd.001.03">
> The result is a java source file named CBIBonOrd.001.03.java that has a
wrong name "CBIBonOrd.001.03".

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


Reply via email to