webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

An Erroer on Duplicatation Element

  • 1.  An Erroer on Duplicatation Element

    Posted Mon May 20, 2002 02:38 PM

    X-Application Version: 3.1.2
    Tamino Version : 3.1.1.4
    Platform : Win2k
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1

    To generate X-Application by the GUI generator, I got the following error.
    [quot.]
    IvalidSchemaException: duplicat element decl: xElement

    [quot.]

    In the schema, xElement was defined as local element of Element A and B.
    The schema is just like the follwing.
    <xsd:element name=“A”>
    xsd:complex
    xsd:sequence
    <xsd:element name=“xElement” type=“xs:String”/>
    <xsd:element name=“B”>
    xsd:complex
    xsd:sequence
    <xsd:element name=“xElement” type=“xs:String”/>
    </xsd:sequence>
    </xsd:complex>
    </xsd:element>
    </xsd:sequence>
    </xsd:complex>
    </xsd:element>

    Any advice on this issue will be appriciate.


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: An Erroer on Duplicatation Element

    Posted Tue May 21, 2002 10:45 AM

    Hi,

    the problem you ran into is a known limitation of X-Application as described in the Limitations chapter in the documentation:



    In order to prevent this problem, just use different names for the two

    xElement

    s.

    Stefan Schwalm
    Software AG, Darmstadt


    #webMethods
    #API-Management
    #Tamino