Element references are referencing the global elements type interface and not 
the element itself
------------------------------------------------------------------------------------------------

                 Key: JAXME-83
                 URL: http://issues.apache.org/jira/browse/JAXME-83
             Project: JaxMe
          Issue Type: Bug
          Components: JaxMe Core
    Affects Versions: 0.5
            Reporter: Jochen Wiedmann
         Assigned To: Jochen Wiedmann


If the following schema is parsed to the generator:

<xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema";
    xmlns="http://ws.apache.org/jaxme/test/jira/elementref";
    targetNamespace="http://ws.apache.org/jaxme/test/jira/elementref";
    elementFormDefault="qualified">
  <xs:element name="Dcr">
    <xs:complexType>
      <xs:attribute name="id"/>
    </xs:complexType>
  </xs:element>

  <xs:element name="DcrLoadResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="Dcr"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

then the interface of DcrLoadResultType contains the following type signature:

  public org.apache.ws.jaxme.test.jira.elementref.DcrType getDcr();

  public void setDcr(org.apache.ws.jaxme.test.jira.elementref.DcrType pDcr);

The signature should reference org.apache.ws.jaxme.test.jira.elementref.Dcr 
instead.


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