This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1584 - [FS] technical: 4.1.5 Function Calls: "for all j"
Summary: [FS] technical: 4.1.5 Function Calls: "for all j"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jerome Simeon
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 04:17 UTC by Michael Dyck
Modified: 2005-09-06 12:59 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2005-07-14 04:17:32 UTC
4.1.5 Function Calls

DErr / rule 2
"for all 1 <= j <= m"
    This explicit universal quantification is unique in the spec, and
    there's no explanation of how to handle it. Usually, "for all j"
    is accomplished with an ellipsis, thus:

        FunctionDecl1 =
            declare function expanded-QName(Type1, ..., Typen) as Type
                   ...
        FunctionDeclm =
            declare function expanded-QName(Type1, ..., Typen) as Type

    which requires all the signatures in statEnv.funcType(expanded-QName)
    to be identical, which is presumably forbidden for m > 1. You could
    avoid this by adding a 'j' subscript to all the Type patterns, but
    then you'd also have to add a 'j' subscript to the Typei in premise 5,
    but that only makes sense if premise 5 is "within the scope" of the
    "for all j", which is getting pretty messy.  (Note that this problem
    goes away if you change funcType to map to a single signature.)
Comment 1 Jerome Simeon 2005-07-27 05:48:20 UTC
As the WGs have decided to remove the sections corresponding to dynamic errors,
this comment should now be moot.
- Jerome
Comment 2 Jerome Simeon 2005-08-31 15:26:45 UTC
The XML Query and XSLT WGs have decided to close this comment as moot, with no
further action.
- Jerome