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

over-loaded namespace should work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.0
    • 2.7.0
    • None
    • Wondows XP

    Description

      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"

      Attachments

        Activity

          People

            Unassigned Unassigned
            bill yan Bill Yan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: