xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/PlatformSupport XSLException.cpp XSLException.hpp
Date Sat, 21 Dec 2002 00:18:52 GMT
dbertoni    2002/12/20 16:18:52

  Modified:    c/src/PlatformSupport XSLException.cpp XSLException.hpp
  Log:
  Use new XalanLocator functions.
  
  Revision  Changes    Path
  1.9       +2 -6      xml-xalan/c/src/PlatformSupport/XSLException.cpp
  
  Index: XSLException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XSLException.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XSLException.cpp	20 Nov 2002 02:27:13 -0000	1.8
  +++ XSLException.cpp	21 Dec 2002 00:18:52 -0000	1.9
  @@ -59,10 +59,6 @@
   
   
   
  -#include <xercesc/sax/Locator.hpp>
  -
  -
  -
   #include "XalanUnicode.hpp"
   #include "DOMStringHelper.hpp"
   
  @@ -107,8 +103,8 @@
   		const XalanDOMString&	theType) :
   	m_message(theMessage),
   	m_uri(),
  -	m_lineNumber(size_type(-1)),
  -	m_columnNumber(size_type(-1)),
  +	m_lineNumber(XalanLocator::getUnknownValue()),
  +	m_columnNumber(XalanLocator::getUnknownValue()),
   	m_type(theType)
   {
   }
  
  
  
  1.12      +4 -4      xml-xalan/c/src/PlatformSupport/XSLException.hpp
  
  Index: XSLException.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XSLException.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XSLException.hpp	25 Nov 2002 18:11:01 -0000	1.11
  +++ XSLException.hpp	21 Dec 2002 00:18:52 -0000	1.12
  @@ -88,8 +88,8 @@
   	 * 
   	 * @param theMessage message to write when exception thrown
   	 * @param theURI the URI of the related document, if known
  -	 * @param theLineNumber the line number of the related document, or -1 if not known
  -	 * @param theColumnNumber the column number of the related document, or -1 if not known
  +	 * @param theLineNumber the line number of the related document.
  +	 * @param theColumnNumber the column number of the related document.
   	 * @param theType type of exception, default is "XSLException"
   	 */
   	XSLException(
  @@ -158,7 +158,7 @@
   	}
   
   	/**
  -	 * Retrieve the line number, or -1 if unknown
  +	 * Retrieve the line number.
   	 * 
   	 * @return the line number
   	 */
  @@ -169,7 +169,7 @@
   	}
   
   	/**
  -	 * Retrieve the column number, or -1 if unknown
  +	 * Retrieve the column number.
   	 * 
   	 * @return the column number
   	 */
  
  
  

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


Mime
View raw message