[jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Yang ZHONG (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425813 ] Yang ZHONG commented on TUSCANY-576: XSD type, element and attribute names are all xsd:NCName, that means we need to map xsd:NCName to Java class and method

[jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425827 ] Fuhwei Lwo commented on TUSCANY-576: I have just verified the following work. The newly generated Java class name for the Quote type will be MyQuote.java an

[jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-05 Thread Yang ZHONG (JIRA)
[ 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 t

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo
I remember a discussion in the past mentioned to use SDO annotation in the XSD to override the default type name for SDO codegen tool, e.g. sdoXML:name="MyNewTypeName". Can anyone verify whether this is working? Thanks. Regards, Fuhwei Lwo "Yang ZHONG (JIRA)" wrote: [ ht

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 11:59 AM, Fuhwei Lwo wrote: I remember a discussion in the past mentioned to use SDO annotation in the XSD to override the default type name for SDO codegen tool, e.g. sdoXML:name="MyNewTypeName". Can anyone verify whether this is working? Thanks. How about giving

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo
I have verified it works and make a comment in the JIRA. Fuhwei Lwo Jeremy Boynes <[EMAIL PROTECTED]> wrote: On Aug 4, 2006, at 11:59 AM, Fuhwei Lwo wrote: > I remember a discussion in the past mentioned to use SDO annotation > in the XSD to override the default type name for SDO codege

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 12:23 PM, Fuhwei Lwo wrote: I have verified it works and make a comment in the JIRA. Thanks Fuhwei. Yang, does this resolve the issue and can we close the JIRA? -- Jeremy - To unsubscribe, e-mail: [EMAIL

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-05 Thread Venkata Krishnan
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) wrote: [ http:/

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-05 Thread Fuhwei Lwo
Venkat, The "name" attribute is defined in the commonj.sdo/xml namespace. You can find it in the sdoXML.xsd under Tuscany/java/spec/sdo/src/main/resources/xml directory. The prefix of "name" attribute can be defined in your XSD with your choice as xmlns:sdoXML="commonj.sdo/xml" or xm