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

Is ab-p-document029.xml correct? #41

Closed
ndw opened this Issue Oct 4, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@ndw
Contributor

ndw commented Oct 4, 2018

I've now implemented JSON-to-XML through fn:json-to-xml. The result I get is simply

<map xmlns="http://www.w3.org/2005/xpath-functions"><string key="key">value</string></map>

Where does the c:data wrapper and other furniture come from? (What part of the spec am I forgetting 😄 ?)

@xml-project

This comment has been minimized.

Show comment
Hide comment
@xml-project

xml-project Oct 4, 2018

Contributor

The test is obviously wrong: The result you get is the same, I would expect.
What the test does is the "casting from non-XML mediatype to XML mediatype" (which is correct according to the words of the specs).
Will change it in about an hour or so.

Contributor

xml-project commented Oct 4, 2018

The test is obviously wrong: The result you get is the same, I would expect.
What the test does is the "casting from non-XML mediatype to XML mediatype" (which is correct according to the words of the specs).
Will change it in about an hour or so.

@xml-project

This comment has been minimized.

Show comment
Hide comment
@xml-project

xml-project Oct 4, 2018

Contributor

Fixed with pr #43

Contributor

xml-project commented Oct 4, 2018

Fixed with pr #43

@xml-project xml-project closed this Oct 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment