Hi Miro, this is confusion caused by the JIRA system. I made a tiny edit to my comment in this JIRA the other day, because the automatic linking of the URL in the JIRA was broken by having a ")" appended to the URL. I just inserted a space between the URL and the ")", but this seems to have the appearance that I was asking the question again. Apologies, Kelvin.
On 19/03/2008, Miro Kandic (mkandic) <[EMAIL PROTECTED]> wrote: > > I have granted a license long time ago. > I checked few minutes ago using link "Manage attachments" and license is > there. > > Regards, > > > Miro Kandic > (408) 525-2596 > > > -----Original Message----- > From: Kelvin Goodson (JIRA) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2008 5:03 AM > To: Miro Kandic (mkandic) > Subject: [jira] Issue Comment Edited: (TUSCANY-1725) XSD2JavaGenerator > has a problem with associations navigable from both sides > > > > [ > https://issues.apache.org/jira/browse/TUSCANY-1725?page=com.atlassian.ji > ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=125293 > 88#action_12529388 ] > > kgoodson edited comment on TUSCANY-1725 at 3/18/08 5:03 AM: > ------------------------------------------------------------------ > > Thanks for this. I'd like to add the schema as the basis of a test, as > a first step. We need you to grant license to the ASF to use it. Would > you be able to attach a file with the schema please and tick the "Grant > License" button please? > > > (for ref: here's the thread that led to this jira -- > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01818.html ) > > was (Author: kgoodson): > Thanks for this. I'd like to add the schema as the basis of a test, > as a first step. We need you to grant license to the ASF to use it. > Would you be able to attach a file with the schema please and tick the > "Grant License" button please? > > > (for ref: here's the thread that led to this jira -- > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01818.html) > > > XSD2JavaGenerator has a problem with associations navigable from both > > sides > > ---------------------------------------------------------------------- > > ----- > > > > Key: TUSCANY-1725 > > URL: > https://issues.apache.org/jira/browse/TUSCANY-1725 > > Project: Tuscany > > Issue Type: Bug > > Components: Java SDO Tools > > Affects Versions: Java-SDO-1.0 > > Environment: Linux > > Reporter: Miro Kandic > > Fix For: Java-SDO-Next > > > > Attachments: xmlSchema.xsd > > > > > > XSD2JavaGenerator does not work in the case of any association type > (association, composition) that is navigable from both sides. > > I have intentionally, just to test generator, made Customer-SoH > association in the next schema navigable from both sides and generated > code cannot be compiled. > > Frank, after initial analyses, confirmed that saying "Bidirectional > > references are broken in Tuscany. They seem to have been broken when > > we switched over to the new (noEMF) codegen patterns." > > Next is complete XSD built automatically from the UML model. > > <?xml version="1.0" encoding="UTF-8"?> > > <!-- > > Attention: Generated code! Do not modify by hand! > > Generated by: XmlSchema.vsl in andromda-xmlschema-cartridge. > > --> > > <xsd:schema > > targetNamespace="http://www.cisco.com/odns/soa" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > xmlns:sdo="commonj.sdo" xmlns:sdoxml="commonj.sdo/xml" > > xmlns:impl="http://www.cisco.com/odns/soa" > > elementFormDefault="qualified"> > > <xsd:import namespace="commonj.sdo/xml" > schemaLocation="sdoXML.xsd"/> > > <xsd:complexType name="Address"> > > <xsd:sequence> > > <xsd:element name="street" type="xsd:string" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="city" type="xsd:string" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:complexType name="Customer"> > > <xsd:sequence> > > <xsd:element name="orders" type="xsd:IDREF" > sdoxml:propertyType="impl:SoH" > > sdoxml:oppositeProperty="customer" minOccurs="0" > maxOccurs="unbounded" /> > > <xsd:element name="name" type="xsd:string" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="created" type="xsd:date" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="lastUpdated" type="xsd:dateTime" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="modifiedBy" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="id" type="xsd:long" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:complexType name="Part"> > > <xsd:sequence> > > <xsd:element name="uom" type="xsd:string" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="aggState" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="id" type="xsd:long" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:complexType name="Product"> > > <xsd:complexContent> > > <xsd:extension base="impl:Part"> > > <xsd:sequence> > > <xsd:element name="description" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="modifiedBy" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="lastUpdated" type="xsd:dateTime" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="created" type="xsd:date" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > </xsd:extension> > > </xsd:complexContent> > > </xsd:complexType> > > <xsd:complexType name="SoH"> > > <xsd:sequence> > > <xsd:element name="customer" type="xsd:IDREF" > sdoxml:propertyType="impl:Customer" > > sdoxml:oppositeProperty="orders" minOccurs="1" > maxOccurs="1" /> > > <xsd:element name="lines" type="impl:SoL" minOccurs="0" > maxOccurs="unbounded" /> > > <xsd:element name="number" type="xsd:string" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="receivedDate" type="xsd:date" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="modifiedBy" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="lastUpdated" type="xsd:dateTime" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="created" type="xsd:date" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="id" type="xsd:long" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:complexType name="SoL"> > > <xsd:sequence> > > <xsd:element name="product" type="xsd:IDREF" > sdoxml:propertyType="impl:Product" > > sdoxml:oppositeProperty="soLs" minOccurs="1" > maxOccurs="1" /> > > <xsd:element name="soLineSch" type="impl:SoLSch" > minOccurs="0" maxOccurs="unbounded" /> > > <xsd:element name="quantity" type="xsd:double" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="requestedDate" type="xsd:date" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="modifiedBy" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="lastUpdated" type="xsd:dateTime" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="created" type="xsd:date" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="id" type="xsd:long" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:complexType name="SoLSch"> > > <xsd:sequence> > > <xsd:element name="requestedDate" type="xsd:date" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="quantity" type="xsd:double" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="modifiedBy" type="xsd:string" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="lastUpdated" type="xsd:dateTime" > minOccurs="1" maxOccurs="1"/> > > <xsd:element name="created" type="xsd:date" minOccurs="1" > maxOccurs="1"/> > > <xsd:element name="id" type="xsd:long" minOccurs="1" > maxOccurs="1"/> > > </xsd:sequence> > > <xsd:attribute name="xmlId" type="xsd:ID"/> > > </xsd:complexType> > > <xsd:element name="DataGraphRootEl" type="impl:DataGraphRoot"/> > > <xsd:complexType name="DataGraphRoot"> > > <xsd:sequence> > > <xsd:element name="customer" type="impl:Customer" > minOccurs="0" maxOccurs="unbounded" /> > > <xsd:element name="product" type="impl:Product" > minOccurs="0" maxOccurs="unbounded" /> > > <xsd:element name="part" type="impl:Part" minOccurs="0" > maxOccurs="unbounded" /> > > <xsd:element name="soH" type="impl:SoH" minOccurs="0" > maxOccurs="unbounded" /> > > </xsd:sequence> > > </xsd:complexType> > > </xsd:schema> > > -- > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >