XML Utilities.

Changelog

7 versions
v1.0.8 Latest
  • Security: upgraded fast-xml-parser 5.7.3 to 5.12.0 (quadratic CPU on unterminated stop-node tags, GHSA-474x-hrwr-fgx4).
  • JsonToXml: an unset or null JSON input still returns an empty XML (fast-xml-parser 5.12.0 throws on it).
v1.0.7
  • Security: upgraded fast-xml-parser 4.5.7 to 5.7.3 (XMLBuilder comment and CDATA injection, GHSA-gh4j-gqv2-49f6).
  • Fix: XmlToJson turned every tag into an array when Always Array was left empty, and skipped number parsing when Skip Parse Number RegExp was left empty.
  • E2E test flows for JsonToXml, ValidateXml, XmlToJson and XPath.
v1.0.6
  • Security: replaced the abandoned xmldom 0.6.0 with its maintained successor @xmldom/xmldom 0.8.15 (XML injection, multiple-root and quadratic DoS advisories).
  • Security: upgraded fast-xml-parser 4.2.5 to 4.5.7 (entity expansion and parsing DoS advisories).
  • Behaviour changes: in XPath, malformed XML with more than one root element keeps only the first root, truncated XML can lose inner elements, and '>' in text is serialised as '>'. In XmlToJson, entities are decoded when processEntities is unset, and JsonToXml escapes comment and CDATA delimiters.
v1.0.5
  • Output examples for the XML components.
v1.0.4
  • Fix: JsonToXml now handles format:true with missing or numeric indentBy, preventing crash when indentBy is undefined.
v1.0.3
  • jsonToXml: fix the input json as a string.
v1.0.2
  • Initial version.

Authentication

TypeDetails
Other —

Actions

4
Json To Xml icon

Json To Xml

Convert JSON to XML.
Validate Xml icon

Validate Xml

Validate XML.
X Path icon

X Path

Extract data from XML using an XPath expression.
Xml To Json icon

Xml To Json

Convert XML to JSON.