ml-app-deployer
ml-app-deployer copied to clipboard
Error deploying a database XML file with CMA
Copied from https://github.com/marklogic-community/ml-gradle/issues/525 . Something in the set of Database Java classes isn't happy about that XML, need to figure out the issue and hopefully it's just a simple tweak to those classes so that the XML is unmarshalled correctly.
Turns out this is an issue in the Manage API - when multiple values exist for a localname, the JSON representation expects an array of strings, while the XML representation expects a single string. Will file a bug with ML.
In the meantime, the workaround is to not use CMA when deploying databases via XML files that have such elements in them.