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

Inheritance by restriction does not detect a missing type from an imported schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 3.0.0
    • None
    • any

    Description

      If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.

      This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.

      Attachments

        1. b.xml
          0.1 kB
          Boris Kolpackov
        2. b.xsd
          0.6 kB
          Boris Kolpackov
        3. a.xsd
          0.3 kB
          Boris Kolpackov

        Activity

          People

            amassari Alberto Massari
            bsk Boris Kolpackov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: