You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/10/04 20:40:35 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanToXercesTranscoderWrapper.cpp

dbertoni    00/10/04 11:40:34

  Modified:    c/src/PlatformSupport XalanToXercesTranscoderWrapper.cpp
  Log:
  Used replace character instead of throwing an exception when unable to transcode a character.
  
  Revision  Changes    Path
  1.2       +5 -1      xml-xalan/c/src/PlatformSupport/XalanToXercesTranscoderWrapper.cpp
  
  Index: XalanToXercesTranscoderWrapper.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanToXercesTranscoderWrapper.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanToXercesTranscoderWrapper.cpp	2000/09/27 16:24:12	1.1
  +++ XalanToXercesTranscoderWrapper.cpp	2000/10/04 18:40:34	1.2
  @@ -101,7 +101,11 @@
   			theTarget,
   			theTargetSize,
   			theSourceCharsTranscoded,
  -			XMLTranscoder::UnRep_Throw);
  +			// $$$ ToDo: Eventually, we're going to want to
  +			// replace this with UnRep_Throw, and let the
  +			// caller try to recover.
  +//			XMLTranscoder::UnRep_Throw);
  +			XMLTranscoder::UnRep_RepChar);
   	}
   	catch(const XMLException&)
   	{