Factor out parse() from process(); remove unnecessary xmlns.
commit8bff2606d8c5fc375353399c8297a204a31fe623
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 17 Jul 2008 04:06:24 +0000 (17 00:06 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 17 Jul 2008 04:06:24 +0000 (17 00:06 -0400)
tree82ad8e69e0c43c881cb48cf78e2a420fd9b88f70
parent099ff6a0079011db5d6cd0222991ca31eb290c5b
Factor out parse() from process(); remove unnecessary xmlns.

process() is a super-method that does many things; parse() now performs
the parsing of text into DOM form, stopping prior to the DOM filters. This
is useful for filters that need to compose multiple XHTML documents into one.

The post-processing of the HTML string now removes unnecessary xmlns from
non root elements in order to ease validation.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
XHTMLCompiler/FilterManager.php