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 2322 - Editorial: xs:anyAtomicType does not exist, but xdt:anyAtomicType do
Summary: Editorial: xs:anyAtomicType does not exist, but xdt:anyAtomicType do
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 14:19 UTC by Frans Englich
Modified: 2006-09-18 10:41 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2005-09-30 14:19:21 UTC
Hello,

In section 17.1 Casting from primitive types to primitive types, the fourth
paragraph reads:

Similarly, casting is not supported to or from xs:anyAtomicType. There are no
atomic values with the type annotation xs:anyAtomicType at runtime, although
this can be a statically inferred type.

The paragraph refers to xs:anyAtomicType which doesn't exist. A typo for "xdt",
I guess.

I searched for the same typo in XQuery 1.0 and XPath 2.0 Data Model, XQuery 1.0
and XPath 2.0 Functions and Operators, and XQuery 1.0: An XML Query Language,
but could not find any. (However, in Formal Semantics there are, I'll submit)

I found this because I grepped for the typo in my code -- I myself often trip on
this! If you internally have release check-point lists, you could add for
example "search for xs:anyAtomicType".


Cheers,
Frans
Comment 1 Ashok Malhotra 2005-09-30 14:56:18 UTC
Thanks for catching this!  I'll fix it.