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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to