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 "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/10 16:11:02 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 ]

Scott Cantor closed XERCESC-1980.
---------------------------------

> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org