W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1643] New: [FS] proposed wording fix for dynEnv.funcDefn

From: <bugzilla@wiggum.w3.org>
Date: Fri, 15 Jul 2005 22:10:30 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DtYO6-0008H1-90@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1643

           Summary: [FS] proposed wording fix for dynEnv.funcDefn
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: fred.zemke@oracle.com
         QAContact: public-qt-comments@w3.org


3.1.2 Dynamic context
Under dynEnv.funcDefn, the second para ends with "...
the function's body and a
list of variables, which are the function's formal parameters,
of the form "(Expr, Variable1, ,..., Variablen)"."  
As currently worded, it seems that "the function's body"
is one item, and "a list of variables, which are the function's
formal parameters, of the form (Expr, Variable1, ...., Variablen)"
is another item.  In parsing termsinology, the question is the 
precedence of "and" and "which" in the quoted sentence.  
This can be fixed
as follows: "...if the function is locally declared, the 
function definition is a tuple (Expr, Variable1, ... Variablen),
where Expr is the function body and Variable1 through Variablen
are the function's formal parameters."
Received on Friday, 15 July 2005 22:18:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:25 UTC