Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1606

Wrong element name in "src-resolve" validation error

    XMLWordPrintableJSON

Details

    Description

      If I validate the following schema I get a validation error that is correct. But the message of the error should contain 'test' element name instead of ''test_fn3dktizrknc9pi''.
      I tested on the xml-schema-1.1-dev branch.

      The validation error:
      src-resolve: Cannot resolve the name 'test_fn3dktizrknc9pi' to a 'type definition' component.

      ------- schema.xsd ----------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
      <xs:redefine schemaLocation="">
      <xs:complexType name="test">
      <xs:complexContent>
      <xs:restriction base="test">
      </xs:restriction>
      </xs:complexContent>
      </xs:complexType>
      </xs:redefine>
      </xs:schema>
      -------------------------------------------------------------

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            octavian.nadolu Octavian Nadolu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: