What is the reasoning behind the JSONtoXML policy suggesting "_" as the default for <InvalidCharsReplacement> when underscores are not valid in a tag name (except in the beginning)?
https://www.w3.org/TR/2008/REC-xml-20081126/#NT-NameChar
(Generally speaking, I miss a more "intelligent" (optional) schema mapping. For example, how about CamelCase to hyphen-case etc.)
Answer by Dino-at-Google
·
Jul 15, 2020 at 12:17 AM
I don't have the reasoning behind that. Sorry I Cannot give you much of an answer.
As for mapping between camelCase, Hyphen-Case, and PascalCase... that's an interesting feature request. Until now I've seen people do that themselves with their JSON , using a JavaScript policy.
How to prevent XML prolog in JSON to XML policy 1 Answer
json2xml error undeclared prefix: cbc 1 Answer
JsonToXml: how to emit an XML element with attribute and text node? 1 Answer
Week5 JSON to XML Error 1 Answer
json to xml Error 1 Answer