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 1722 - [FS] typos in two inferences in 7.2.5 "fn:collection..."
Summary: [FS] typos in two inferences in 7.2.5 "fn:collection..."
Status: CLOSED FIXED
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 trivial
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:36 UTC by Fred Zemke
Modified: 2005-09-29 10:48 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-07-18 21:36:22 UTC
7.2.5 fn:collection and fn:doc
In the third inference

statEnv |-  statEnv.collectionType(StringLiteral) not defined
-------------------------------------------------------
statEnv |- fn:collection(Expr) : (element | attribute | 
                                  processing-instruction |
                                  text | comment | document) *

There is no stated relationship between StringLiteral and Expr.
What you want is

statEnv |-  statEnv.collectionType(String) not defined
-------------------------------------------------------
statEnv |- fn:collection(String) : node *

The second inference about fn:doc has the same problem.
Comment 1 Jerome Simeon 2005-09-29 10:44:26 UTC
Fixed. Also replaced StringLiteral by URILiteral, more appropriate.
- Jerome