You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sh...@apache.org on 2013/09/24 23:29:20 UTC

svn commit: r1526016 - /xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp

Author: shathaway
Date: Tue Sep 24 21:29:20 2013
New Revision: 1526016

URL: http://svn.apache.org/r1526016
Log:
XALANC-744: XalanLocator::getSystemId() can return NULL, cause crash

Modified:
    xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp

Modified: xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp?rev=1526016&r1=1526015&r2=1526016&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp (original)
+++ xalan/c/trunk/src/xalanc/PlatformSupport/XalanLocator.hpp Tue Sep 24 21:29:20 2013
@@ -91,7 +91,7 @@ public:
             const XalanDOMChar*     theAlternateId = getEmptyPtr())
     {
         return theLocator == 0 ? theAlternateId : (theLocator->getSystemId() ?
-            theLocator->getPublicId() : theAlternateId);
+            theLocator->getSystemId() : theAlternateId);
     }
 
     /**



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