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

[Bug 1661] New: [FS] editorial: Document Node Constructors

From: <bugzilla@wiggum.w3.org>
Date: Sat, 16 Jul 2005 07:43:10 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DthKI-0006TA-43@wiggum.w3.org>


           Summary: [FS] editorial: Document Node Constructors
           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 Document Node Constructors

Norm / rule 1
"fs:item-sequence-to-node-sequence( ... )"
    This function takes a single argument (of type item*), but
    [[ Expr ]]_Expr could result in a sequence of comma-separated
    ExprSingles, which would then constitute multiple args.
    Put [[ Expr ]]_Expr in parentheses to ensure a single arg.

STA / rule 1 / premise 2
statEnv |- Type <: (element | text | processing-instruction | comment)*
    I think this premise will never hold.
    After normalization, the Expr of the constructor is a call to
    fs:item-sequence-to-node-sequence. So 7.1.7 dictates that the type
    of Expr is
        attribute*, (element|text|PI|comment)*
    which is not a subtype of
        (element | text | processing-instruction | comment)*
    as needed.
Received on Saturday, 16 July 2005 07:43:13 UTC

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