An Erroer on Duplicatation Element

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.

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