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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2012/04/23 14:51:34 UTC

[jira] [Closed] (XERCESC-1980) type 'derivationControl' not found when using XMLSchema.xsd

     [ https://issues.apache.org/jira/browse/XERCESC-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari closed XERCESC-1980.
------------------------------------

    Resolution: Invalid

>From the error message it looks that the schema contains an extra character (represend by the &#39; entity). In any case, the XMLSchema.xsd is not supposed to be validated by the schema validator, as it defines the same types that are pre-defined inside the Xerces code
                
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org