1Dommer 2====== 3 4What is it? 5----------- 6 7Dommer is a DOM level 2 library (currently not complete, not sure if it ever 8will either, but it's a usable subset) that is almost entirely compliant with 9the DOM standard. This allows DOM developers to write proper XML parsing code 10for all browsers that support core JavaScript. DOM for instance properly 11supports namespaces, a feature which IE's DOM support lacks, thus allowing 12XML to be parsed with proper namespace and prefix handling on that platform. 13 14What's missing? 15--------------- 16 17Currently a number of features are missing, features marked with a * will most 18probably be added in the near future, others are not certain to be implemented 19at all. 20 21- CDATA* 22- DTD processing 23- HTML support 24- some more exotic DOM functions such as isSupported() 25- (there's probably more I can't remember right now ;) 26 27What's different from the standard? 28----------------------------------- 29 30Since there's no proper way to update one property when another is set in IE, 31all properties on a node should be considered read-only, they should never be 32modified except with dedicated API calls. To allow setting the prefix of a 33node without updating e.g. .nodeName, a new method was added to the Node 34interface, called 'setPrefix'. If this library is used *solely* on platforms 35that *do* support dynamic property updates (__defineGetter__ and 36__defineSetter__), you can set the switch WARN_ON_PREFIX to false and set 37.prefix the conventional way. 38 39Usage 40----- 41 42For an example of how to use the library, see 'example.html'. For API 43documentation, see any DOM level 2 reference. 44 45Note that this library depends on version 0.3 of the 'minisax.js' library, 46and version 0.1 of the JSBase lib, both of which can be downloaded (under the 47same GPL license) from http://johnnydebris.net/javascript/. 48 49Questions, remarks, bug reports, etc. 50------------------------------------- 51 52If you have questions, remarks, bug reports, etc. you can send email to 53johnny@johnnydebris.net. More information and newer versions of this library 54can be found on http://johnnydebris.net. 55 56Note: this product contains some code written by the Kupu developers (some of 57the functionality in helpers.js). Kupu is an HTML editor written in 58JavaScript, released under a BSD-style license. See http://kupu.oscom.org for 59more information about Kupu and its license. 60 61