Changes in the Dommer library ============================= Version 0.5 ----------- * Added function called 'importForeignNode' to import non-dommer DOM nodes (for wrapping native browser XML nodes). * Dixed Document base class, is now Element rather than Node (so there's element related functionality, such as getElementsByTagName). * Fixed some problems with (get|remove)Attributes vs their *NS counterparts, it turned out they weren't so easy to interchange... * Fixed problem with removeAttributes using delete on an Array, this left gaps. * Made that nodes are unregistered from their parent (if any) on _attach. * Fixed problems in getElementById, made that the attribute name to find is configurable (passed in as argument). * Adjusted importNode to conform to the specs (now does a cloneNode, returns the results, and also has an additional arg 'deep' like in the specs). * Fixed ownerDocument reference on deeply imported nodes. * Fixed importNode issue on text nodes. * Fixed Document.appendChild(). * Fixed problem with importing deep with nodes in a different namespace URI. * Fixed problem with inheriting cloneNode as-is, made the TYPE constants available on the Node object as well as instances, made that WARN_ON_PREFIX is defined in the module rather than a global. * Switched to using a BSD-style license. * Switched to using 'nanosax.js', which deals with namespaces in a 'worse is better' way (ie. not at all), and removed all code that intelligently creates xmlns declarations if required. * Fixed issues in null versus default namespace handling in attributes. * Made that attribute values are always strings. * Fixed getElementsByTagName() to only return element nodes. Version 0.4 ----------- * Changed the unit tests so they can be ran from py.test (using some new JSBase feature, currently this rules out browser testing but that should be fixed later). * Fixed some bugs in comment handling. * Replaced my old helpers lib with a new one, which has a slightly different way of defining methods (uses a module namespace). Note that this does not change the dependencies, as the functionality required is copied to the main lib on release creation.