You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2004/03/17 12:16:23 UTC

cvs commit: xml-xerces/c/src/xercesc/framework XMLFormatter.cpp

amassari    2004/03/17 03:16:23

  Modified:    c/src/xercesc/framework XMLFormatter.cpp
  Log:
  Inside attribute values, new lines must be escaped (bug#20858)
  
  Revision  Changes    Path
  1.19      +2 -2      xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp
  
  Index: XMLFormatter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- XMLFormatter.cpp	17 Dec 2003 00:18:33 -0000	1.18
  +++ XMLFormatter.cpp	17 Mar 2004 11:16:23 -0000	1.19
  @@ -119,7 +119,7 @@
   {
           { chNull      , chNull       , chNull        , chNull       , chNull        , chNull }
       ,   { chAmpersand , chCloseAngle , chDoubleQuote , chOpenAngle  , chSingleQuote , chNull }
  -    ,   { chAmpersand , chOpenAngle  , chDoubleQuote , chNull       , chNull        , chNull }
  +    ,   { chAmpersand , chOpenAngle  , chDoubleQuote , chLF         , chNull        , chNull }
       ,   { chAmpersand , chOpenAngle  , chCloseAngle  , chNull       , chNull        , chNull }
   };
   
  
  
  

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