[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    cvs commit: xml-xerces/c/src/internal XMLScanner2.cpp
From:       tng () apache ! org
Date:       2001-12-21 16:54:06
[Download RAW message or body]

tng         01/12/21 08:54:06

  Modified:    c/src/internal XMLScanner2.cpp
  Log:
  Schema fix: leading whitespace should be preserved for CData type.
  
  Revision  Changes    Path
  1.78      +3 -3      xml-xerces/c/src/internal/XMLScanner2.cpp
  
  Index: XMLScanner2.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/internal/XMLScanner2.cpp,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- XMLScanner2.cpp	2001/12/17 15:38:58	1.77
  +++ XMLScanner2.cpp	2001/12/21 16:54:06	1.78
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: XMLScanner2.cpp,v 1.77 2001/12/17 15:38:58 knoaman Exp $
  + * $Id: XMLScanner2.cpp,v 1.78 2001/12/21 16:54:06 tng Exp $
    */
   
   
  @@ -395,7 +395,7 @@
               //  was issued, which is all we care about.
               //
   
  -            if (attDefForWildCard && (wasAdded || (!wasAdded && \
attDef->getCreateReason() != XMLAttDef::JustFaultIn))) {  +            if \
(attDefForWildCard && (wasAdded || (!wasAdded && attDef->getCreateReason() == \
XMLAttDef::JustFaultIn))) {  normalizeAttValue
                   (
                       attDefForWildCard
  @@ -718,7 +718,7 @@
               retVal = false;
           }
   
  -        if (type == XMLAttDef::CData)
  +        if (type == XMLAttDef::CData || type > XMLAttDef::Notation)
           {
               if (!escaped)
               {
  
  
  

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic