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

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