Changeset 877


Ignore:
Timestamp:
Jan 15, 2011, 2:24:41 PM (8 years ago)
Author:
lindanl
Message:

Initiated ParabixWFXMLScanner.

Location:
Xerces/src/xercesc
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • Xerces/src/xercesc/internal/XMLScannerResolver.cpp

    r721 r877  
    2929#include <xercesc/internal/SGXMLScanner.hpp>
    3030#include <xercesc/internal/IGXMLScanner.hpp>
    31 
     31#include <xercesc/internal/ParabixWFXMLScanner.hpp>
    3232XERCES_CPP_NAMESPACE_BEGIN
    3333
     
    5757    else if (XMLString::equals(scannerName, XMLUni::fgDGXMLScanner))
    5858        return new (manager) DGXMLScanner(valToAdopt, grammarResolver, manager);
     59    else if (XMLString::equals(scannerName, XMLUni::fgParabixWFXMLScanner))
     60        return new (manager) ParabixWFXMLScanner(valToAdopt, grammarResolver, manager);
    5961
    6062    // REVISIT: throw an exception or return a default one?
  • Xerces/src/xercesc/util/XMLUni.cpp

    r721 r877  
    707707};
    708708
     709const XMLCh XMLUni::fgParabixWFXMLScanner[] =
     710{
     711                chLatin_P, chLatin_a, chLatin_r, chLatin_a, chLatin_b, chLatin_i, chLatin_x
     712    ,   chLatin_W, chLatin_F, chLatin_X, chLatin_M, chLatin_L, chLatin_S
     713    ,   chLatin_c, chLatin_a, chLatin_n, chLatin_n, chLatin_e, chLatin_r, chNull
     714};
     715
    709716const XMLCh XMLUni::fgXSAXMLScanner[] =
    710717{
  • Xerces/src/xercesc/util/XMLUni.hpp

    r721 r877  
    170170    static const XMLCh fgSGXMLScanner[];
    171171    static const XMLCh fgDGXMLScanner[];
     172    // Parabix Scanner
     173    static const XMLCh fgParabixWFXMLScanner[];
    172174    static const XMLCh fgXSAXMLScanner[];
    173175    static const XMLCh fgCDataStart[];
Note: See TracChangeset for help on using the changeset viewer.