From 4b321dc353f37459481816b695c5376d287ff8ad Mon Sep 17 00:00:00 2001 From: dsandersoremutah Date: Mon, 26 Mar 2007 22:06:36 +0000 Subject: [PATCH] Query parser needed to resolve the name when no prefix was specified using a NULL namespace. git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1043 0109f412-320b-0410-ab79-c3e0c5ffbbe6 --- xflaim/src/fxpath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xflaim/src/fxpath.cpp b/xflaim/src/fxpath.cpp index 2a5b72c..0f7bffc 100644 --- a/xflaim/src/fxpath.cpp +++ b/xflaim/src/fxpath.cpp @@ -2163,7 +2163,7 @@ RCODE F_XPath::parseQuery( pNamespace ? pNamespace->getURIPtr() : NULL, &uiDictNum, NULL))) { - if( rc != NE_XFLM_NOT_FOUND) + if( rc != NE_XFLM_NOT_FOUND && rc != NE_XFLM_MULTIPLE_MATCHES) { goto Exit; } @@ -2175,7 +2175,7 @@ RCODE F_XPath::parseQuery( ? ELM_ELEMENT_TAG : ELM_ATTRIBUTE_TAG, m_curToken.getLocalPtr(), - NULL, FALSE, NULL, &uiDictNum, NULL))) + NULL, TRUE, NULL, &uiDictNum, NULL))) { rc = RC_SET( NE_XFLM_SYNTAX); goto Exit;