- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 14 Jul 2005 06:01:23 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1588
Summary: [FS] editorial: 4.2.1 Steps
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Formal Semantics
AssignedTo: simeon@us.ibm.com
ReportedBy: jmdyck@ibiblio.org
QAContact: public-qt-comments@w3.org
4.2.1 Steps
Introduction
[81 (XQuery)] PredicateList ::= Predicate*
The Normalization rules assume a left-recursive definition, such as:
... ::= | PredicateList Predicate
Norm / rule (1|2|3|4|5|6)
"[" Expr "]"
Delete quotes around square brackets.
Norm / rule (1|3)
"[" Numeric "]"
Change "Numeric" to "NumericLiteral".
Norm / rule (3|4)
"return then"
Delete "then".
Norm / rule (3|6)
$fs:last - Numeric + 1
$fs:last - $fs:new + 1
Plus and minus operators are not in the Core language. Change to:
fs:plus( 1, fs:minus( $fs:last, NumericLiteral ) )
fs:plus( 1, fs:minus( $fs:last, $fs:new ) )
Norm / rule (5|6)
"if [[ Expr ]]_Predicates then"
Put IfExpr's condition in parentheses.
STA
"Axis"
There's no definition for the symbol 'Axis'.
DEv / rule 1 / premise 2
"Value1 matches node"
'node' is not a valid (Formal) Type.
In STA / rule 1, you changed 'node' to
[[ node() ]]_sequencetype
so you probably need to do that here too.
(leftover from last year, comment #058)
Received on Thursday, 14 July 2005 06:01:26 UTC