0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 18:55:19 +00:00
- Updated ConfigDoc TODO
- configdoc.xml now has xml:space attached to default value nodes

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@519 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-11-12 00:05:27 +00:00
parent a6bbe60e7c
commit afee1ea9bf
2 changed files with 9 additions and 8 deletions

2
NEWS
View File

@ -17,9 +17,11 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
+ TODO added request Phalanger + TODO added request Phalanger
+ TODO added request Native compression + TODO added request Native compression
+ TODO added request Remove redundant tags + TODO added request Remove redundant tags
+ Updated ConfigDoc TODO
. Switched to purify()-wide Context object registry . Switched to purify()-wide Context object registry
. Refactored unit tests to minimize duplication . Refactored unit tests to minimize duplication
. XSS attack sheet updated . XSS attack sheet updated
. configdoc.xml now has xml:space attached to default value nodes
1.1.3, unknown projected release date 1.1.3, unknown projected release date
(bugfix release, may be dropped if no major bugs are found before features) (bugfix release, may be dropped if no major bugs are found before features)

View File

@ -12,10 +12,8 @@ TODO:
- multipage documentation - multipage documentation
- determine how to multilingualize - determine how to multilingualize
- factor out code into classes - factor out code into classes
- generate a table of contents
*/ */
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Check and configure environment // Check and configure environment
@ -82,9 +80,6 @@ $dom_root->appendChild($dom_document->createElement('title', 'HTML Purifier'));
/* /*
TODO for XML format: TODO for XML format:
- namespace descriptions
- enumerated values
- default values
- create a definition (DTD or other) once interface stabilizes - create a definition (DTD or other) once interface stabilizes
*/ */
@ -138,9 +133,13 @@ foreach($schema->info as $namespace_name => $namespace_info) {
$schema->defaults[$namespace_name][$name], true $schema->defaults[$namespace_name][$name], true
); );
} }
$dom_constraints->appendChild(
$dom_document->createElement('default', $default) $dom_default = $dom_document->createElement('default', $default);
);
// remove this once we get a DTD
$dom_default->setAttribute('xml:space', 'preserve');
$dom_constraints->appendChild($dom_default);
$dom_descriptions = $dom_document->createElement('descriptions'); $dom_descriptions = $dom_document->createElement('descriptions');
$dom_directive->appendChild($dom_descriptions); $dom_directive->appendChild($dom_descriptions);