A parsing failure occurs if the word "element" or
"attribute" is used as the name of an element or
attribute and is followed by an operator such as "and"
or "div". For example:
$x[@element and @code]
The problem arises because of the introduction of the
XQuery constructs "element E { ... }" and "attribute E
{ ... }".
Workaround: use parentheses, for example
$x[(@element) and @code]
test case added: bug02
Michael Kay
Michael Kay
XPath conformance
v7.6
Public
|
Date: 2003-07-11 09:57 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2003-07-11 09:57 | mhkay |
| resolution_id | None | 2003-07-11 09:57 | mhkay |
| close_date | - | 2003-07-11 09:57 | mhkay |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use