You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/06/06 22:40:17 UTC

cvs commit: xml-xerces/c/src/xercesc/internal XMLScanner2.cpp

tng         2002/06/06 13:40:17

  Modified:    c/src/xercesc/internal XMLScanner2.cpp
  Log:
  Regression fix: should assign the returned InputSource from resolveEntity to srcToFill.
  
  Revision  Changes    Path
  1.9       +4 -4      xml-xerces/c/src/xercesc/internal/XMLScanner2.cpp
  
  Index: XMLScanner2.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/XMLScanner2.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLScanner2.cpp	22 May 2002 20:54:33 -0000	1.8
  +++ XMLScanner2.cpp	6 Jun 2002 20:40:17 -0000	1.9
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: XMLScanner2.cpp,v 1.8 2002/05/22 20:54:33 knoaman Exp $
  + * $Id: XMLScanner2.cpp,v 1.9 2002/06/06 20:40:17 tng Exp $
    */
   
   
  @@ -223,7 +223,7 @@
   
               XMLAttDef* attDefForWildCard = 0;
               XMLAttDef*  attDef = 0;
  -          
  +
               if (fGrammarType == Grammar::SchemaGrammarType) {
   
                   //retrieve the att def
  @@ -1430,8 +1430,8 @@
               if (!fEntityHandler->expandSystemId(loc, expSysId))
                   expSysId.set(loc);
   
  -            fEntityHandler->resolveEntity( XMLUni::fgZeroLenString
  -                                         , expSysId.getRawBuffer());
  +            srcToFill = fEntityHandler->resolveEntity( XMLUni::fgZeroLenString
  +                                                     , expSysId.getRawBuffer());
           }
            else
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org