type 'derivationControl' not found when using XMLSchema.xsd
-----------------------------------------------------------
Key: XERCESC-1980
URL: https://issues.apache.org/jira/browse/XERCESC-1980
Project: Xerces-C++
Issue Type: Bug
Components: Validating Parser (XML Schema)
Affects Versions: 3.1.1
Environment: Ubuntu 11.10 Linux default libxerces-c3.1 version
3.1.1-1build1 Intel 64bit
Reporter: Cezar Andrei
Priority: Critical
Using Xerces C++ API to load XMLSchema.xsd from
http://www.w3.org/2001/XMLSchema.xsd , I get the following error even if the
type 'derivationControl' is defined later in the same file at line 2082.
"Error in schema with system id file:///home/c/XMLSchema.xsd, line 177, column
47.
type 'http://www.w3.org/2001/XMLSchema:derivationControl' not found"
There are also several warnings:
Warning at file file:///home/c/XMLSchema.xsd, line 99, char 7
Message: attribute 'id' has already been declared for element 'xs:simpleType'
Warning at file file:///home/c/XMLSchema.xsd, line 122, char 7
Message: attribute 'id' has already been declared for element 'xs:list'
Warning at file file:///home/c/XMLSchema.xsd, line 130, char 7
Message: attribute 'id' has already been declared for element 'xs:union'
Warning at file file:///home/c/XMLSchema.xsd, line 140, char 20
Message: attribute 'id' has already been declared for element
'xs:maxExclusive'
Warning at file file:///home/c/XMLSchema.xsd, line 145, char 20
Message: attribute 'id' has already been declared for element
'xs:minExclusive'
Warning at file file:///home/c/XMLSchema.xsd, line 151, char 20
Message: attribute 'id' has already been declared for element
'xs:maxInclusive'
Warning at file file:///home/c/XMLSchema.xsd, line 156, char 20
Message: attribute 'id' has already been declared for element
'xs:minInclusive'
Warning at file file:///home/c/XMLSchema.xsd, line 162, char 20
Message: attribute 'id' has already been declared for element 'xs:totalDigits'
Warning at file file:///home/c/XMLSchema.xsd, line 167, char 20
Message: attribute 'id' has already been declared for element
'xs:fractionDigits'
Warning at file file:///home/c/XMLSchema.xsd, line 173, char 20
Message: attribute 'id' has already been declared for element 'xs:length'
Warning at file file:///home/c/XMLSchema.xsd, line 178, char 20
Message: attribute 'id' has already been declared for element 'xs:minLength'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]