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

                 Key: XERCESC-1664
                 URL: https://issues.apache.org/jira/browse/XERCESC-1664
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
    Affects Versions: 2.7.0
         Environment: all
            Reporter: Boris Kolpackov


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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to