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...@apache.org on 2005/07/28 22:01:55 UTC

cvs commit: xml-xalan/c/src/xalanc/XercesParserLiaison XercesDOMException.cpp XercesDOMException.hpp

dbertoni    2005/07/28 13:01:55

  Modified:    c/src/xalanc/XercesParserLiaison XercesDOMException.cpp
                        XercesDOMException.hpp
  Log:
  Fixes for XALANC-527.
  
  Revision  Changes    Path
  1.8       +0 -5      xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.cpp
  
  Index: XercesDOMException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XercesDOMException.cpp	13 Mar 2004 00:44:56 -0000	1.7
  +++ XercesDOMException.cpp	28 Jul 2005 20:01:54 -0000	1.8
  @@ -29,10 +29,6 @@
   static XercesDOMException::ExceptionCode
   translateErrorCode(ExceptionType	theException)
   {
  -	// Ugly hack for a bug in the Intel v6 compiler...
  -#if __INTEL_COMPILER <= 600
  -	return XercesDOMException::ExceptionCode(theException.code);
  -#else
   	XercesDOMException::ExceptionCode	theXalanCode = XercesDOMException::UNKNOWN_ERR;
   
   	switch(theException.code)
  @@ -103,7 +99,6 @@
   	};
   
   	return theXalanCode;
  -#endif
   }
   
   
  
  
  
  1.8       +2 -4      xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.hpp
  
  Index: XercesDOMException.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XercesDOMException.hpp	13 Mar 2004 00:44:56 -0000	1.7
  +++ XercesDOMException.hpp	28 Jul 2005 20:01:54 -0000	1.8
  @@ -22,12 +22,10 @@
   
   
   
  -#if XERCES_VERSION_MAJOR >= 2
  +#if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
   #include <xercesc/dom/deprecated/DOM_DOMException.hpp>
  -#include <xercesc/dom/DOMException.hpp>
  -#else
  -#include <xercesc/dom/DOM_DOMException.hpp>
   #endif
  +#include <xercesc/dom/DOMException.hpp>
   
   
   
  
  
  

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