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 27952 - [fo31] Constructor functions for user-defined types
Summary: [fo31] Constructor functions for user-defined types
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 17:53 UTC by Michael Kay
Modified: 2015-02-10 17:21 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2015-02-03 17:53:47 UTC
Section 18.5 states

"To construct an instance of a user-defined type that is not in a namespace, it is necessary to use a cast expression or undeclare the default function namespace."

(a) it should mention that this is not necessarily possible in all host languages, and that the examples given assume XQuery.

(b) the statement is no longer true, since the required effect can be achieved using an EQName.
Comment 1 Michael Kay 2015-02-10 16:51:51 UTC
The WG accepted the change, which has been applied.