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

xsi:type and a schema without a target namespace causes error on valid instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0
    • None
    • all

    Description

      I am attaching a test case that fails with the following error when run through domprint:

      $ domprint -v=always -n -s -f ./test-users.xml
      Error at file "test-users.xml", line 14, column 9
      Message: Unknown element 'Age'

      If you add targetNamespace to derived-user-config.xsd, then the error disappeas.

      Attachments

        1. test-case.tar.gz
          0.8 kB
          Boris Kolpackov

        Activity

          People

            Unassigned Unassigned
            bsk Boris Kolpackov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: