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 2003/08/07 07:36:17 UTC

cvs commit: xml-xalan/c/src/xalanc/XSLT TraceListenerDefault.cpp

dbertoni    2003/08/06 22:36:17

  Modified:    c/src/xalanc/XSLT TraceListenerDefault.cpp
  Log:
  Use proper function call for unknown line/column value.  Fixes Bugzilla 22198.
  
  Revision  Changes    Path
  1.2       +2 -1      xml-xalan/c/src/xalanc/XSLT/TraceListenerDefault.cpp
  
  Index: TraceListenerDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/TraceListenerDefault.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TraceListenerDefault.cpp	29 Jun 2003 03:58:08 -0000	1.1
  +++ TraceListenerDefault.cpp	7 Aug 2003 05:36:17 -0000	1.2
  @@ -60,6 +60,7 @@
   
   
   #include <xalanc/PlatformSupport/PrintWriter.hpp>
  +#include <xalanc/PlatformSupport/XalanLocator.hpp>
   
   
   
  @@ -236,7 +237,7 @@
       {
   		const ElemTemplateElement&	ete = ev.m_styleNode;
   
  -		if(ev.m_styleNode.getLineNumber() == 0)
  +		if(ev.m_styleNode.getLineNumber() == XalanLocator::getUnknownValue())
   		{
   			// You may not have line numbers if the selection is occuring from a
   			// default template.
  
  
  

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