over-loaded namespace should work correctly
-------------------------------------------

                 Key: XERCESC-1733
                 URL: https://issues.apache.org/jira/browse/XERCESC-1733
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
    Affects Versions: 2.7.0
         Environment: Wondows XP
            Reporter: Bill Yan
             Fix For: 2.7.0


Here is a schema file:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:ss="xxxxx">
    <xs:element name="test2" type="ss:string" 
xmlns:ss="http://www.w3.org/2001/XMLSchema";></xs:element>
</xs:schema>

I think the schema file above should be valid, but when I use 
XercesDOMParser::loadGrammar() to check the validity of this schema file, the 
following error info is reported:
"Schema Representation Constraint: Namespace 'xxxxx' is referenced without 
<import> declaration - Line 3, Col 91"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to