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 1644 - [FS] what is the type of fs:position and fs:last?
Summary: [FS] what is the type of fs:position and fs:last?
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 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-15 22:13 UTC by Fred Zemke
Modified: 2007-01-16 17:30 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-07-15 22:13:49 UTC
3.1.2 Dynamic context
It does not say what is the type of fs:position and fs:last.
Presumably it is xs:integer, the return type of fn:position() and
fn:last() in Functions and Operators.  As for fs:dot, its type
presumably depends on the static analysis that created the 
current statEnv, or the initialization of the initial statEnv.
Comment 1 Jerome Simeon 2005-07-19 17:20:40 UTC
I believe this is editorial.
- Jerome
Comment 2 Jerome Simeon 2006-04-15 23:12:22 UTC
Added some clarifying text about the type for the $fs:last, $fs:position, and $fs:dot variables.
- Jerome