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

Validation error for prefix declaration on element whose value uses a prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.2
    • None
    • None
    • Linux

    Description

      Xerces schema validation reports the prefix is undefined when QName content of an element is using a prefix defined on the element (works fine with Xerces-J, etc).  

      <link:usedOn xmlns:this="http://example.com/this">this:someArc</link:usedOn>

      validation message: undefined prefix in QName value 'this:someArc' 

      Is there a parameter, usage pattern, or code patch which will make this validate cleanly?  (isPrefixUnknown seems to look in element stack instead of looking first at current element?)

      Attachments

        Activity

          People

            Unassigned Unassigned
            hefischer Herm Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: