diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2016-04-21 19:19:23 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2016-04-23 19:12:47 +0200 |
commit | e28939036281969477d3913a51c001bb7635fe54 (patch) | |
tree | 93f73e7a0ba2dbdc268d7723aaf22cc14ff7f644 /test | |
parent | 96a5c17ee154add361abbae27b29c86e398fc1b9 (diff) | |
download | libxml2-e28939036281969477d3913a51c001bb7635fe54.tar.gz |
Fix parsing of NCNames in XPath
The NCName parser would allow any NameChar as start character. For
example, the following XPath expressions would compile:
self::-abc
self::0abc
self::.abc
Diffstat (limited to 'test')
-rw-r--r-- | test/XPath/expr/base | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/XPath/expr/base b/test/XPath/expr/base index 9aaed4fc..0be4871e 100644 --- a/test/XPath/expr/base +++ b/test/XPath/expr/base @@ -3,3 +3,4 @@ 2*3 1+2*3+4 (1+2)*(3+4) +self::-name |