You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/11/04 17:03:57 UTC
DO NOT REPLY [Bug 21965] -
The type of an element should depend also on the substitutionGroup attribute
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21965>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21965
The type of an element should depend also on the substitutionGroup attribute
------- Additional Comments From jean-paul.rossazza@alcatel.fr 2003-11-04 16:03 -------
Hi,
I seem to have the same kind of trouble, even if the error message is not the
same with 2 schemas files from 3GGP organization;
in schema file xmlns:xn=
"http://www.3gpp.org/ftp/specs/latest/rel-5/32_series/32625-510.zip#genericNrm"
<element name="vsData">
<complexType/>
</element>
and in schema file
xmlns:rho="http://www.companyNN.com/xmlschemas/NNRncHandOver.1.1"
<element name="vsDataRHO" substitutionGroup="xn:vsData">
<complexType>
<complexContent>
<extension base="xn:vsData">
<all>
<element name="abcMin" minOccurs="0"/>
<element name="abcMax" minOccurs="0"/>
</all>
</extension>
</complexContent>
</complexType>
I got the error :
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'xn:vsDataRHO'. One of
'{"http://www.3gpp.org/ftp/specs/latest/rel-5/32_series/32625-510.zip#genericNrm":vsData}'
is expected.
Jean-Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org