The type reference will fail when importing a no-namespace schema
-----------------------------------------------------------------

                 Key: XERCESC-1623
                 URL: http://issues.apache.org/jira/browse/XERCESC-1623
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
    Affects Versions: 2.6.0
         Environment: Windows 2000
            Reporter: Max Liu
         Attachments: need-import-t.xml, need-import-t.xsd, 
very-simple-2-ns-ppl-nons-t.xsd

There is a schema file which refers to a complex type that defined in another 
schema file. The imported schame has not the targetNamespce.

The DOM parser will report an error shown that "Type not found in :importType - 
Line 7, Col 55" when parsing the attached xml instance. 

By the way, that xml instance can be validated by other tools, like XMLSpy2006 
and Oxygen7.2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://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