RE: Some comment about the production UnaryExpr
"Kay, Michael" <[email protected]> Tue, 28 Jan 2003 00:43:04 +0100
| Newsgroups | gmane.text.xml.xpath.general |
|---|---|
| Message-ID | <[email protected]> |
The rule as given in XPath 1.0 allows: - - 1 (whose value is +1) and - price | discount which takes the union of the child price and discount elements, converts the (first node of the) result to a number, and negates it. Neither of these constructs is particularly useful, but they are perfectly well-defined. The spec is correct. Michael Kay -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 27 January 2003 07:07 To: [email protected] Subject: Some comment about the production UnaryExpr Sensitivity: Personal To whom it may concern, Hello, My name is Kwang-Young Kim([email protected] <mailto:[email protected]> ). I am working for Hyundai Information Technology, Co., Ltd. I have some comment about the XPath versoin 1.0 specification. I think that the production rule for UnaryExpr in XPath should be the following : [27] UnaryExpr ::= UnionExpr | '-' PrimaryExpr instead of : [27] UnaryExpr ::= UnionExpr | '-' UnaryExpr I am looking forward to hearing your response. And I thank you a lot for spending your valuable time in reviewing my writing in advance.