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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user