B
Binew.
Hello,
i've got a problme and need your help.
for designing xml documents with xsd we use WSAD from IBM.
in one case i have some tags with the same name
but with different types.
ex.:
<xsd:complexType name="ergebnisVertragsaenderungenTyp">
<xsd:sequence>
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungErhoehungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungZusammenlegungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungErmaessigungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungUmwandlungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
</xsd:sequence>
</xsd:complexType>
wsad doesn't show any errors.
but some other tools,
xmlspy for example says:
contains directly, indirectly or implicitly the following element
declarations with same name and targetNamespace but with different type
definition.
now i'm not sure how to manage this problem.
can anybode help me??
thank you for answering.
i've got a problme and need your help.
for designing xml documents with xsd we use WSAD from IBM.
in one case i have some tags with the same name
but with different types.
ex.:
<xsd:complexType name="ergebnisVertragsaenderungenTyp">
<xsd:sequence>
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungErhoehungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungZusammenlegungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungErmaessigungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
type="neobau:ergebnisVertragsaenderungUmwandlungTyp" minOccurs="0"
maxOccurs="1" />
<xsd:element name="vertragsaenderung"
</xsd:sequence>
</xsd:complexType>
wsad doesn't show any errors.
but some other tools,
xmlspy for example says:
contains directly, indirectly or implicitly the following element
declarations with same name and targetNamespace but with different type
definition.
now i'm not sure how to manage this problem.
can anybode help me??
thank you for answering.