W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2003

RE: Some comment about the production UnaryExpr

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 28 Jan 2003 00:43:04 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DFC4@daemsg02.software-ag.de>
To: ??? <kykim@hit.co.kr>, www-xpath-comments@w3.org
The rule as given in XPath 1.0 allows:
- - 1
(whose value is +1)
- 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: kykim@hit.co.kr [mailto:kykim@hit.co.kr] 
Sent: 27 January 2003 07:07
To: www-xpath-comments@w3.org
Subject: Some comment about the production UnaryExpr
Sensitivity: Personal

To whom it may concern,




My name is Kwang-Young Kim(kykim@hit.co.kr <mailto:kykim@hit.co.kr> ). 

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.
Received on Monday, 27 January 2003 18:43:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:15 UTC