jxon icon indicating copy to clipboard operation
jxon copied to clipboard

lossless JavaScript XML Object Notation

Results 15 jxon issues
Sort by recently updated
recently updated
newest added

Should resolve the security issue reported in the deprecated xmldom package ```script ✔ 12:20 ~/src/github.com/geoffcorey/jxon [master|…2] $ npm test > [email protected] pretest /home/geoff/src/github.com/geoffcorey/jxon > npm ls --depth=Infinity > /dev/null >...

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. ![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=xmldom&from_version=0.1.31&to_version=0.5.0&pr_id=a1122e85-2e04-4d36-9841-93cfcf2f2af2&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to...

Fixes #52 by using [`lookupNamespaceURI`](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupNamespaceURI) and supporting changes. Tested with current Chromium (89) and Firefox (86) on Ubuntu (not on IE or other browsers). See [updated demo](http://plnkr.co/edit/mhGOEVfX4f0Rtpgb?open=lib%2Fscript.js&preview) that now has...

Hi there @tyrasd, Great library, thanks a lot! Here's an example that works perfectly in Chrome 58 and Firefox 53: ```html XML Serialization var xml = 'a012345d-12bc-41fe-a35d-ff713bc876e0Complete Automatically?Would you like...

When the following JavaScript object, with a custom namespace `xmlns:locus` defined in the root element and some nested element prefixed with `locus:`, is serialized to a XML string with `jsToString`,...

Passing a javascript object to `jxon.jsToXml` causes the script to trow with `ReferenceError: isNodeJs is not defined`.

index.min.js:1 Uncaught (in promise) TypeError: oParentNode.hasChildNodes is not a function

jxon is stripping white space from XML content, especially ones explicitly with the `xml:space="preserve"` attribute when going from stringToJs. Example: ``` Reactful Word ``` ``` "w:r": [ { "w:t": "Reactful"...

The natural order of XML elements is lost during a conversion to JSON. ``` This has a hyperlink in it. ``` ...converts to... ``` { "w:r": [ { "w:t": {...