This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
5.15 Function Declaration STA / rule 2 Even though the FunctionDecl doesn't have a body, presumably the parameter-names and parameter-types still have to be valid. Thus, this rule should have all but the last two premises of the previous rule.
Yes I agree, the rule should look like: statEnv |- VarRef1 of var expands to Variable1 ... statEnv |- VarRefn of var expands to Variablen statEnv |- [SequenceType1]sequencetype = Type1 ... statEnv |- [SequenceTypen]sequencetype = Typen statEnv |- [SequenceTyper]sequencetype = Typer ---------------------------------------------- statEnv |- declare function QName (VarRef1 as SequenceType1, ยทยทยท, VarRefn as SequenceTypen) as SequenceTyper { Expr } : Typer Maybe we should factorize those two rules the same way we factorize function calls... - Jerome
The XSLT and XML Query Working Groups have accepted your comment and the proposed resolution. Best, - Jerome