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

datatype-uri returns wrong URI's & is out of sync with serialisation #93

Open
RickMoynihan opened this issue Mar 3, 2017 · 1 comment
Labels

Comments

@RickMoynihan
Copy link
Member

e.g.

(datatype-uri 10) ;; => #object[java.net.URI 0x13fb0262 "http://www.w3.org/2001/XMLSchema#integer"]

Which is wrong, but if you serialise the same object (a clojure long) you get:

"11"^^<http://www.w3.org/2001/XMLSchema#long>

which is what datatype-uri should return.

Ideally the serialisation mechanism would also be built in terms of datatype-uri

@scottlowe scottlowe added the bug label May 27, 2020
@scottlowe
Copy link
Contributor

Long
(datatype-uri [t]
(->java-uri xsd:integer))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants