You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/05/18 21:05:41 UTC
cvs commit: xml-xalan/c/src/XPath XPathProcessorImpl.cpp
dbertoni 01/05/18 12:05:40
Modified: c/src/XPath XPathProcessorImpl.cpp
Log:
Report error for missing node test. Fixes bug 1805.
Revision Changes Path
1.39 +4 -1 xml-xalan/c/src/XPath/XPathProcessorImpl.cpp
Index: XPathProcessorImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathProcessorImpl.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- XPathProcessorImpl.cpp 2001/05/14 01:01:17 1.38
+++ XPathProcessorImpl.cpp 2001/05/18 19:05:39 1.39
@@ -609,7 +609,6 @@
}
else
{
- // error(XalanDOMString("Could not locate namespace for prefix: ") + prefix);
addToTokenQueue(prefix);
addToTokenQueue(DOMServices::s_XMLNamespaceSeparatorString);
@@ -1883,6 +1882,10 @@
// Tell how long the entire step is.
m_expression->updateOpCodeLength(opPos);
+ }
+ else if (tokenIs(XalanUnicode::charRightParenthesis) == false)
+ {
+ error("Unexpected token!");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org