You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/02/03 15:18:58 UTC
DO NOT REPLY [Bug 16702] New: -
Type Redefined Twice In Two Redefine Statements
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=16702>.
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=16702
Type Redefined Twice In Two Redefine Statements
Summary: Type Redefined Twice In Two Redefine Statements
Product: Xerces2-J
Version: 2.2.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema datatypes
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: nmehrega@ca.ibm.com
CC: nddelima@ca.ibm.com
The same type can be redefined more than once in the same schema file without
the parser realizing it. Consider the following schema code:
<xsd:redefine schemaLocation="schemaFile.xsd">
<xsd:simpleType name="SimpleType01">
<xsd:restriction base="SimpleType01">
<xsd:length value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:redefine>
<xsd:redefine schemaLocation="schemaFile.xsd">
<xsd:simpleType id="bad01" name="SimpleType01">
<xsd:restriction base="SimpleType01">
<xsd:maxLength value="5"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:redefine>
Type 'SimpleType01' is being redefined twice in the same schema file!
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org