Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve element/node data type representation #3

Closed
grtjn opened this issue May 19, 2015 · 4 comments
Closed

Improve element/node data type representation #3

grtjn opened this issue May 19, 2015 · 4 comments
Assignees
Milestone

Comments

@grtjn
Copy link
Owner

grtjn commented May 19, 2015

node() and element() are likely not recognized as-is. Need to debug sjs to see what MarkLogic uses internally.. (suggestions welcome)

@grtjn
Copy link
Owner Author

grtjn commented May 19, 2015

Comparing types listed on DMC itself. Unfortunately, a lot of detail gets lost when sequences are returned as ValueIterator..

@grtjn
Copy link
Owner Author

grtjn commented May 19, 2015

DMC is deriving this from the current XML as well, see for instance here:

https://github.com/marklogic/RunDMC/blob/master/src/apidoc/model/data-access.xqy#L782

@grtjn
Copy link
Owner Author

grtjn commented May 20, 2015

Those datatype mappings don't look as really been validated. Integer should be number, null should be void.

grtjn added a commit that referenced this issue May 20, 2015
@grtjn
Copy link
Owner Author

grtjn commented May 20, 2015

Made a large step forward, but DMC style for describing arguments doesn't match typescript/javascript syntax. Nor seem many types very accurate. Is something like cts.period a correct type? If so we need to add a list of such object defs statically maybe..

@grtjn grtjn modified the milestone: 0.0.1 Sep 21, 2015
@grtjn grtjn added the bug label Sep 21, 2015
@grtjn grtjn self-assigned this Sep 21, 2015
@grtjn grtjn added enhancement and removed bug labels Sep 21, 2015
@grtjn grtjn closed this as completed in 4ed61d7 Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant