Description: Fix segfault in xalan (testXSLT). Author: William Blough Bug-Debian: http://bugs.debian.org/718303 Forwarded: https://issues.apache.org/jira/browse/XALANC-751 Last-Update: 2013-10-14 diff --git a/c/src/xalanc/PlatformSupport/XalanLocator.hpp b/c/src/xalanc/PlatformSupport/XalanLocator.hpp index 34a7f1e..b026a40 100644 --- src/xalanc/PlatformSupport/XalanLocator.hpp +++ src/xalanc/PlatformSupport/XalanLocator.hpp @@ -91,7 +91,7 @@ public: const XalanDOMChar* theAlternateId = getEmptyPtr()) { return theLocator == 0 ? theAlternateId : (theLocator->getSystemId() ? - theLocator->getPublicId() : theAlternateId); + theLocator->getSystemId() : theAlternateId); } /**