[Bug 1724] New: [FS] inconsistent usage in 7.2.5 "fn:collection and fn:doc"

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

           Summary: [FS] inconsistent usage in 7.2.5 "fn:collection and
                    fn:doc"
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: fred.zemke@oracle.com
         QAContact: public-qt-comments@w3.org


7.2.5 fn:collection and fn:doc
The last inference for fn:doc has the premise, 
statEnv |- not (Expr = StringLiteral).  The corresponding 
inference for fn:collection uses statEnv |- Expr is not a 
StringLiteral for its premise.  I think the formulation in
fn:collection is superior.  If one assumes that unbound variables
above the line have implicit existential quantification
(which seems to be the usual rule), then 
statEnv |- not (Expr = StringLiteral) would mean 
(there exists a StringLiteral) 
  [ statEnv |- not (Expr = StringLiteral)] 
which is seemingly always true (no Expr can be equal to every
StringLiteral).

Received on Monday, 18 July 2005 21:40:06 UTC