Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sherlock doesn't support XQuery double datatype



This is RadarWeb Bug #3136265.

Sherlock doesn't support XQuery double datatype and doesn't promote float values to double when necessary.

http://www.w3.org/TR/xmlschema-2/#float
http://www.w3.org/TR/xmlschema-2/#double

Using the Sherlock XQuery channel:

let $float32 :=number(1234567890.12345)
let $decimal := number($float32 - number(1234560000.0))

return dictionary(("float32", $float32),
				("string", $float32/string()),
				("decimal", $decimal))

Returns:

{decimal = 7936; float32 = 1.234568e+09; string = "1234567936.000000"; }

Versions:

System version: Mac OS X 10.2.3 (6G30)
Framework Name: SherlockCore.framework
Version:        1.0.1
Framework Name: WebFoundation.framework
Version:        0.3
Application Name:       Sherlock
Version:        3.5.1
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.