Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2003

S1000D 4.1 Validation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.1
    • None
    • None

    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

      Attachments

        1. template.xml
          2 kB
          Andreas Pinter

        Activity

          People

            Unassigned Unassigned
            apinter Andreas Pinter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: