dbertoni    2003/07/30 08:44:56

  Modified:    c/src/xalanc/PlatformSupport XSLException.cpp
  Log:
  Fix for bug 21987.
  
  Revision  Changes    Path
  1.2       +5 -1      xml-xalan/c/src/xalanc/PlatformSupport/XSLException.cpp
  
  Index: XSLException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/XSLException.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSLException.cpp  29 Jun 2003 03:57:55 -0000      1.1
  +++ XSLException.cpp  30 Jul 2003 15:44:56 -0000      1.2
  @@ -84,12 +84,16 @@
   
   
   
  +static const XalanDOMChar    s_dummy = 0;
  +
  +
  +
   XSLException::XSLException(
                        const LocatorType&              theLocator,
                        const XalanDOMString&   theMessage,
                        const XalanDOMString&   theType) :
        m_message(theMessage),
  -     m_uri(theLocator.getSystemId()),
  +     m_uri(theLocator.getSystemId() == 0 ? &s_dummy : 
theLocator.getSystemId()),
        m_lineNumber(theLocator.getLineNumber()),
        m_columnNumber(theLocator.getColumnNumber()),
        m_type(theType)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to