marklogic-community / RunDMC

MarkLogic application for running a developer site
http://developer.marklogic.com/code/rundmc
Other
17 stars 18 forks source link

docapp branch: XQuery to JavaScript mapping for xs:unsignedLong should be string, not Number #292

Closed dsokolsky closed 10 years ago

dsokolsky commented 10 years ago

For the mapping between XQuery built-in types and JavaScrit types, xs:unsignedLong should be mapped to string.

It is currently mapped to Number.

dsokolsky commented 10 years ago

This seems to be working. There is some inconsistency as to whether string has a capitol "S" or not. I have seen it both ways in JavaScript, so I am not sure which is right. If I find the answer, then we can attempt to make that consistent (I think some of the inconsistencies are in the apidoc content, not necessarily the code here).