You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Denes Bornas (JIRA)" <ja...@ws.apache.org> on 2005/12/19 08:50:22 UTC

[jira] Created: (JAXME-78) Compilation error of the generated code

Compilation error of the generated code
---------------------------------------

         Key: JAXME-78
         URL: http://issues.apache.org/jira/browse/JAXME-78
     Project: JaxMe
        Type: Bug
    Versions: 0.5    
 Environment: Windows XP, Netbeans 5.0beta2, JDK 1.4.2_6
    Reporter: Denes Bornas


Compilation error:

D:\test\jaxb\src\genbug\jaxb\impl\Type1Handler.java:5: genbug.jaxb.impl.Type1Handler.GroupHandler is already defined in genbug.jaxb.impl.Type1Handler
    public class GroupHandler extends org.apache.ws.jaxme.impl.JMSAXGroupParser {
1 error

Type1Handler.java is generated by JaxMe 0.5 from the following schema:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns="http://genbug/jaxb"
    targetNamespace="http://genbug/jaxb">
    <xsd:element name="Elem1" type="Type1"/>
    <xsd:complexType name="Type1">
        <xsd:complexContent>
            <xsd:extension base="Type2">
                <xsd:sequence>
                    <xsd:element name="elem1" type="xsd:string" minOccurs="0"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="Type2">
        <xsd:complexContent>
            <xsd:extension base="Type3">
                <xsd:sequence>
                    <xsd:element name="elem2" type="xsd:string" minOccurs="0"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="Type3">
        <xsd:complexContent>
            <xsd:extension base="Type4">
                <xsd:sequence>
                    <xsd:element name="elem3" type="xsd:string" minOccurs="0"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="Type4">
        <xsd:sequence>
            <xsd:element name="elem4" type="xsd:string" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>


-- 
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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org