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

IGXMLScanner does not recognize XML Schema

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • None
    • Documentation
    • None
    • xerces-c-3.0.1-x86-windows-vc-8.0

    Description

      This might be a documentation-defect (as well)

      Setup:
      ...
      DOMLSParser::getDomConfig::setParameter( xercesc::XMLUni::fgDOMValidate, true );
      DOMLSParser::getDomConfig::setParameter( xercesc::XMLUni::fgXercesScannerName, xercesc::XMLUni::fgIGXMLScanner );
      ...

      Parse an XML that referes to an XMLSchema and the parser reports error. By using the SGXMLScanner it works fine and it validates the document correctly but not with IGXMLScanner despite that the documentation says "both XMLSchema and DTD validation".

      In some business-patterns you may just wanna perform "automatic" validation depending on referred/supplied validation-technique in any incoming XML where you do not know what kind of technique the XML refers to i.e. you just wanna validate the XML and therefore you wanna use the something like the IGXMLScanner that, according to the documentation, seems to provide that service ... but it doesn't or something (supplementary) is missing in the documentation

      Attachments

        Activity

          People

            Unassigned Unassigned
            kristone Kristian Ivarsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: