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 "Andreas Pinter (JIRA)" <xe...@xml.apache.org> on 2012/11/06 14:34:11 UTC

[jira] [Created] (XERCESC-2003) S1000D 4.1 Validation fails

Andreas Pinter created XERCESC-2003:
---------------------------------------

             Summary: S1000D 4.1 Validation fails
                 Key: XERCESC-2003
                 URL: https://issues.apache.org/jira/browse/XERCESC-2003
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (XML Schema)
    Affects Versions: 3.1.1
            Reporter: Andreas Pinter
         Attachments: template.xml

Using the schemas from 'http://public.s1000d.org/Downloads/Pages/Issue41.aspx' and the provided XML file, Xerces is throwing the following errors when validating:

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 34, char 41
  Message: unable to find declaration in the schema being redefined correspondin
g to 'paraContentElemGroup'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 73, char 42
  Message: unable to find declaration in the schema being redefined correspondin
g to 'contentElemType'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 75, char 44
  Message: base type 'contentElemType_rdfn' not found

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 34, char 41
  Message: global group 'paraContentElemGroup' declared more than once

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 73, char 42
  Message: global type 'complexType:contentElemType' declared more than once or
also declared as simpleType
S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\custom\templa
te.xml: 783 ms (30 elems, 42 attrs, 26 spaces, 2 chars)



I'm using the below command to execute the validation.

xerces-c-3.1.1-xindows-vc-10.086_64-w\bin\PParse.exe -v=al
ways -n -s S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\cu
stom\template.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Updated] (XERCESC-2003) S1000D 4.1 Validation fails

Posted by "Andreas Pinter (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pinter updated XERCESC-2003:
------------------------------------

    Description: 
Using the schemas from 'http://public.s1000d.org/Downloads/Pages/Issue41.aspx' and the provided XML file, Xerces is throwing the following errors when validating:

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 34, char 41
  Message: unable to find declaration in the schema being redefined correspondin
g to 'paraContentElemGroup'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 73, char 42
  Message: unable to find declaration in the schema being redefined correspondin
g to 'contentElemType'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 75, char 44
  Message: base type 'contentElemType_rdfn' not found

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 34, char 41
  Message: global group 'paraContentElemGroup' declared more than once

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 73, char 42
  Message: global type 'complexType:contentElemType' declared more than once or
also declared as simpleType
S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\custom\templa
te.xml: 783 ms (30 elems, 42 attrs, 26 spaces, 2 chars)


When looking at the schemas, I think those declarations are given and could have been redefined.



I'm using the below command to execute the validation.

xerces-c-3.1.1-xindows-vc-10.086_64-w\bin\PParse.exe -v=al
ways -n -s S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\cu
stom\template.xml

  was:
Using the schemas from 'http://public.s1000d.org/Downloads/Pages/Issue41.aspx' and the provided XML file, Xerces is throwing the following errors when validating:

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 34, char 41
  Message: unable to find declaration in the schema being redefined correspondin
g to 'paraContentElemGroup'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/complexTypes.xsd, line 73, char 42
  Message: unable to find declaration in the schema being redefined correspondin
g to 'contentElemType'

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 75, char 44
  Message: base type 'contentElemType_rdfn' not found

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 34, char 41
  Message: global group 'paraContentElemGroup' declared more than once

Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
\custom\doctypes/xml_schema_master/descriptSchema.xsd, line 73, char 42
  Message: global type 'complexType:contentElemType' declared more than once or
also declared as simpleType
S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\custom\templa
te.xml: 783 ms (30 elems, 42 attrs, 26 spaces, 2 chars)



I'm using the below command to execute the validation.

xerces-c-3.1.1-xindows-vc-10.086_64-w\bin\PParse.exe -v=al
ways -n -s S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\cu
stom\template.xml

    
> S1000D 4.1 Validation fails
> ---------------------------
>
>                 Key: XERCESC-2003
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2003
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.1.1
>            Reporter: Andreas Pinter
>         Attachments: template.xml
>
>
> Using the schemas from 'http://public.s1000d.org/Downloads/Pages/Issue41.aspx' and the provided XML file, Xerces is throwing the following errors when validating:
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/complexTypes.xsd, line 34, char 41
>   Message: unable to find declaration in the schema being redefined correspondin
> g to 'paraContentElemGroup'
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/complexTypes.xsd, line 73, char 42
>   Message: unable to find declaration in the schema being redefined correspondin
> g to 'contentElemType'
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 75, char 44
>   Message: base type 'contentElemType_rdfn' not found
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 34, char 41
>   Message: global group 'paraContentElemGroup' declared more than once
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 73, char 42
>   Message: global type 'complexType:contentElemType' declared more than once or
> also declared as simpleType
> S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\custom\templa
> te.xml: 783 ms (30 elems, 42 attrs, 26 spaces, 2 chars)
> When looking at the schemas, I think those declarations are given and could have been redefined.
> I'm using the below command to execute the validation.
> xerces-c-3.1.1-xindows-vc-10.086_64-w\bin\PParse.exe -v=al
> ways -n -s S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\cu
> stom\template.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Updated] (XERCESC-2003) S1000D 4.1 Validation fails

Posted by "Andreas Pinter (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pinter updated XERCESC-2003:
------------------------------------

    Attachment: template.xml

the mentioned test.xml file
                
> S1000D 4.1 Validation fails
> ---------------------------
>
>                 Key: XERCESC-2003
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2003
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.1.1
>            Reporter: Andreas Pinter
>         Attachments: template.xml
>
>
> Using the schemas from 'http://public.s1000d.org/Downloads/Pages/Issue41.aspx' and the provided XML file, Xerces is throwing the following errors when validating:
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/complexTypes.xsd, line 34, char 41
>   Message: unable to find declaration in the schema being redefined correspondin
> g to 'paraContentElemGroup'
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/complexTypes.xsd, line 73, char 42
>   Message: unable to find declaration in the schema being redefined correspondin
> g to 'contentElemType'
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 75, char 44
>   Message: base type 'contentElemType_rdfn' not found
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 34, char 41
>   Message: global group 'paraContentElemGroup' declared more than once
> Error at file S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1
> \custom\doctypes/xml_schema_master/descriptSchema.xsd, line 73, char 42
>   Message: global type 'complexType:contentElemType' declared more than once or
> also declared as simpleType
> S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\custom\templa
> te.xml: 783 ms (30 elems, 42 attrs, 26 spaces, 2 chars)
> I'm using the below command to execute the validation.
> xerces-c-3.1.1-xindows-vc-10.086_64-w\bin\PParse.exe -v=al
> ways -n -s S:\Tests\PTC_S1000D41\appsave-i386-descriptSchema-template\custom1\cu
> stom\template.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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