Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Deploying a freshly made transform will fail #230

Closed
peetkes opened this issue May 1, 2014 · 0 comments
Closed

Deploying a freshly made transform will fail #230

peetkes opened this issue May 1, 2014 · 0 comments
Milestone

Comments

@peetkes
Copy link
Contributor

peetkes commented May 1, 2014

I just created a transform
ml transform tst:test
This creates a test.xslt in rest-api/transform
When I deploy this I get this Error:
ERROR: 400 "Bad Request"
ERROR: <rapi:error xmlns:rapi="http://marklogic.com/rest-api">rapi:status-code400/rapi:status-coderapi:statusBad Request/rapi:statusrapi:message-codeRESTAPI-INVALIDCONTENT/rapi:message-coderapi:messageRESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: invalid sample extension: could not parse XSLT extension sample; please see the server error log for detail XDMP-BADCHAR: (err:XPST0003) Unexpected character found '&' (0x0026)/rapi:message/rapi:error

This is caused by the fact that { } is not escaped when the transform is deployed.

@peetkes peetkes mentioned this issue May 1, 2014
Merged
@dmcassel dmcassel added this to the v1.6 milestone May 2, 2014
@dmcassel dmcassel closed this as completed May 2, 2014
@paxtonhare paxtonhare modified the milestone: v1.6 Oct 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants