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=16640>. 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=16640 Type Redefined Twice In Two Different Files Summary: Type Redefined Twice In Two Different Files 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] A type can be redefined and then another file can be included that redefines the same type again. That is, we redefine a type from 'schemaFile1.xsd' and include another file called 'schemaFile2.xsd', but this file also redefines the same type in 'schemaFile1.xsd'. We end up with the redefinition of the same type twice. Consider the following schema code: <xsd:redefine id="true" schemaLocation="schemaFile1.xsd"> <xsd:simpleType name="SimpleType01"> <xsd:restriction base="SimpleType01"> <xsd:whiteSpace value="collapse"/> </xsd:restriction> </xsd:simpleType> </xsd:redefine> <xsd:include id="bad01" chemaLocation="schemaFile2.xsd"/> ** Note: 'schemaFile2.xsd' also redefines the 'SimpleType01' type in 'schemaFile1.xsd' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
