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

type 'derivationControl' not found when using XMLSchema.xsd

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 11.10 Linux default libxerces-c3.1 version 3.1.1-1build1 Intel 64bit

      Description

      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'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cezar Cezar Cristian Andrei
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: