| Index: Source/core/xml/XPathParser.cpp
|
| diff --git a/Source/core/xml/XPathParser.cpp b/Source/core/xml/XPathParser.cpp
|
| index 5daab74430213211f9492e63e3176b7e08f55e2e..4ef59b6cce3f9bc68c64fcc04fe497def9594339 100644
|
| --- a/Source/core/xml/XPathParser.cpp
|
| +++ b/Source/core/xml/XPathParser.cpp
|
| @@ -30,7 +30,6 @@
|
|
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/xml/XPathEvaluator.h"
|
| -#include "core/xml/XPathException.h"
|
| #include "core/xml/XPathNSResolver.h"
|
| #include "core/xml/XPathPath.h"
|
| #include "core/xml/XPathStep.h"
|
| @@ -504,7 +503,7 @@ Expression* Parser::parseStatement(const String& statement, PassRefPtr<XPathNSRe
|
| if (m_gotNamespaceError)
|
| ec = NAMESPACE_ERR;
|
| else
|
| - ec = XPathException::INVALID_EXPRESSION_ERR;
|
| + ec = SYNTAX_ERR;
|
| return 0;
|
| }
|
|
|
|
|