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 1724 - [FS] inconsistent usage in 7.2.5 "fn:collection and fn:doc"
Summary: [FS] inconsistent usage in 7.2.5 "fn:collection and fn:doc"
Status: CLOSED WORKSFORME
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows 2000
: P2 minor
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-18 21:40 UTC by Fred Zemke
Modified: 2007-01-16 17:39 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-07-18 21:40:00 UTC
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).
Comment 1 Jerome Simeon 2006-04-10 18:42:30 UTC
Taken over by events. The formulation for fn:doc has already been made consistent with the one on fn:collection(). See Bug #1758.
- Jerome