[WebODF] using jsdom instead of xmldom

Jos van den Oever jos.van.den.oever at kogmbh.com
Tue Oct 29 10:45:52 CET 2013


Hi all,

Our tests in Node.JS do not run the DOM related tests. I looked into 
using JSDom instead of XmlDom. JSDom is a more complete implementation 
with e.g. a window object.

The patch to use JSDom instead of XmlDom is attached.

However, I could not run any additional tests because e.g. 
createTreeWalker is not implemented in JSDom.

So this patch is mainly for future reference when JSDom aquires more of 
the DOM features that we need.

https://npmjs.org/package/jsdom

Cheers,
Jos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsdom.patch
Type: text/x-patch
Size: 1255 bytes
Desc: not available
URL: <http://open.nlnet.nl/pipermail/webodf/attachments/20131029/50b72109/attachment.bin>


More information about the WebODF mailing list