summaryrefslogtreecommitdiff
path: root/bindings/hubbub/README
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 02:08:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 02:08:05 +0000
commit175fc45e28c1fdc30da99acbb969ce53272ad588 (patch)
tree081e9cd7931b54c03d46cadf312dad8dcf327844 /bindings/hubbub/README
parent3109ad033e095f41ca6e322121b0f96a70073abd (diff)
downloadlibdom-175fc45e28c1fdc30da99acbb969ce53272ad588.tar.gz
libdom-175fc45e28c1fdc30da99acbb969ce53272ad588.tar.bz2
Beginnings of a hubbub binding to libdom
Currently comprises a stubbed-out parser wrapper Todo: 1) Complete parser wrapper, such that it actually creates a DOM tree 2) Provide a hubbub-backed DOMImplementationSource svn path=/trunk/dom/; revision=3646
Diffstat (limited to 'bindings/hubbub/README')
-rw-r--r--bindings/hubbub/README29
1 files changed, 29 insertions, 0 deletions
diff --git a/bindings/hubbub/README b/bindings/hubbub/README
new file mode 100644
index 0000000..43b7be7
--- /dev/null
+++ b/bindings/hubbub/README
@@ -0,0 +1,29 @@
+Hubbub binding for libdom
+=========================
+
+Overview
+--------
+
+ This is an example binding of hubbub to libdom. It consists of two,
+ orthogonal, parts:
+
+ 1) hubbub parser wrapper
+ 2) hubbub-specific DOMImplementationSource for libdom
+
+Push parser wrapper
+-------------------
+
+ This is a wrapper around hubbub's parser API, to facilitate
+ construction of a libdom DOM tree. The basic premise is that the wrapper
+ intercepts the SAX-like events emitted by hubbub's tokeniser then builds
+ a libdom DOM tree from them.
+
+DOMImplementationSource
+-----------------------
+
+ The DOMImplementationSource exposes the APIs needed to create a new
+ document based upon the hubbub binding. It also provides the utility
+ functions that libdom uses when performing some operations (such as
+ document normalization). This is needed as libdom is document language
+ agnostic; therefore, it requires support from the binding to perform
+ some operations.