dbertoni    00/07/13 15:42:26

  Modified:    c/src/TestXSLT process.cpp
  Log:
  Changed default for expand entity references to false, and added an option to 
set it to true.
  
  Revision  Changes    Path
  1.30      +7 -1      xml-xalan/c/src/TestXSLT/process.cpp
  
  Index: process.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- process.cpp       2000/07/13 20:51:11     1.29
  +++ process.cpp       2000/07/13 22:42:25     1.30
  @@ -160,6 +160,8 @@
                 << endl
                 << " [-ESCAPE (Which characters to escape {default is 
<>&\"\'\\r\\n}]"
                 << endl
  +              << " [-EER (Expand entity references.  By default, they are 
not expanded.)]"
  +              << endl
                 << " [-INDENT n (Control how many spaces to indent {default is 
0})]"
                 << endl
                 << " [-VALIDATE (Set whether validation occurs. Validation is 
off by default.)]"
  @@ -238,7 +240,7 @@
                escapeCData(false),
                setQuietConflictWarnings(false),
                setQuietMode(false),
  -             shouldExpandEntityRefs(true),
  +             shouldExpandEntityRefs(false),
                stripCData(false),
                versionOnly(false),
                traceTemplates(false),
  @@ -365,6 +367,10 @@
                else if(!stricmp("-VALIDATE", argv[i]))
                {
                        p.doValidation = true;
  +             }
  +             else if(!stricmp("-EER", argv[i]))
  +             {
  +                     p.shouldExpandEntityRefs = true;
                }
                else if (!stricmp("-PARAM", argv[i])) 
                {
  
  
  

Reply via email to