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

WFXMLScanner cannot expand entities

    XMLWordPrintableJSON

Details

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

    Description

      This might be a DOM-defect (as well)

      Setup:
      ...
      DOMLSParser::getDomConfig::setParameter( xercesc::XMLUni::fgDOMValidate, false );
      DOMLSParser::getDomConfig::setParameter( xercesc::XMLUni::fgXercesScannerName, xercesc::XMLUni::fgWFXMLScanner );
      DOMLSParser::getDomConfig::setParameter( xercesc::XMLUni::fgDOMEntities, false );
      ...

      Parse an XML with an entity-reference and the result is "entity 'MY_ENTITY' not found". This might be correct behaviour, but the documentation are a bit fuzzy and not clear about what the scanner can or can't do

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: