]> git.sesse.net Git - xml-template/log
xml-template
17 years agoDocumentation update.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 18:25:17 +0000 (19:25 +0100)]
Documentation update.

17 years agoAdd a note about non-reentrancy.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 16:00:04 +0000 (17:00 +0100)]
Add a note about non-reentrancy.

17 years agoRevert the deferred stuff; it doesn't work as long as Expat isn't reentrant.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 15:57:56 +0000 (16:57 +0100)]
Revert the deferred stuff; it doesn't work as long as Expat isn't reentrant.

17 years agoAdd deferred parsing for perl-sax. Doesn't work yet, though, so it uses
sgunderson@bigfoot.com [Thu, 1 Mar 2007 15:44:22 +0000 (16:44 +0100)]
Add deferred parsing for perl-sax. Doesn't work yet, though, so it uses
a fugly workaround.

17 years agoSlight refactoring of the perl-sax frontend.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:52:18 +0000 (15:52 +0100)]
Slight refactoring of the perl-sax frontend.

17 years agoIn perl-sax, ignore the name to find the right end tag; level is just as
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:42:29 +0000 (15:42 +0100)]
In perl-sax, ignore the name to find the right end tag; level is just as
good as name+level.

17 years agoFix the cleaner so it doesn't confuse the layers above. All perl-sax tests
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:28:51 +0000 (15:28 +0100)]
Fix the cleaner so it doesn't confuse the layers above. All perl-sax tests
passes again!

17 years agoTry to handle the perl-sax issue differently.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:22:27 +0000 (15:22 +0100)]
Try to handle the perl-sax issue differently.

17 years agoRevert r113 and r114, we'll try to solve it slightly differently.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:19:55 +0000 (15:19 +0100)]
Revert r113 and r114, we'll try to solve it slightly differently.

17 years agoFix some junk; Cleaner doesn't take an object.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:09:33 +0000 (15:09 +0100)]
Fix some junk; Cleaner doesn't take an object.

17 years agoFix some internal oddities in perl-sax/structure; however, the test still
sgunderson@bigfoot.com [Thu, 1 Mar 2007 14:06:30 +0000 (15:06 +0100)]
Fix some internal oddities in perl-sax/structure; however, the test still
does not pass.

17 years agoTry to fix the structure test, but fail miserably.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:49:25 +0000 (14:49 +0100)]
Try to fix the structure test, but fail miserably.

17 years agoRemove some debugging stuff.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:39:32 +0000 (14:39 +0100)]
Remove some debugging stuff.

17 years agoAdd perl-sax/structure test, blows up (as expected).
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:38:20 +0000 (14:38 +0100)]
Add perl-sax/structure test, blows up (as expected).

17 years agoAdd ruby/structure test, passes.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:37:10 +0000 (14:37 +0100)]
Add ruby/structure test, passes.

17 years agoAdd python/structure tests, passes.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:36:15 +0000 (14:36 +0100)]
Add python/structure tests, passes.

17 years agoAdd php/structure test, passes.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:34:39 +0000 (14:34 +0100)]
Add php/structure test, passes.

17 years agoAdd a structure test.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:33:08 +0000 (14:33 +0100)]
Add a structure test.

17 years agoAdd perl-sax/namespace{,2} tests. Pass directly.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:23:54 +0000 (14:23 +0100)]
Add perl-sax/namespace{,2} tests. Pass directly.

17 years agoHand-merge from borked repository. Main changes are a Ruby version (with
sgunderson@bigfoot.com [Thu, 1 Mar 2007 13:23:05 +0000 (14:23 +0100)]
Hand-merge from borked repository. Main changes are a Ruby version (with
associated documentation tweaks) and namespace tests.

17 years agoAdd perl-sax/attribute-empty test, works directly. All tests pass!
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:51:51 +0000 (13:51 +0100)]
Add perl-sax/attribute-empty test, works directly. All tests pass!

17 years agoAdd perl-sax/attribute[23] tests. Work directly.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:51:07 +0000 (13:51 +0100)]
Add perl-sax/attribute[23] tests. Work directly.

17 years agoMake perl-sax/attribute test pass.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:49:24 +0000 (13:49 +0100)]
Make perl-sax/attribute test pass.

17 years agoAdd a (failing) perl-sax/attribute test.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:39:57 +0000 (13:39 +0100)]
Add a (failing) perl-sax/attribute test.

17 years agoHack the XML diff script so it can deal with comments in-between. (Is that
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:38:17 +0000 (13:38 +0100)]
Hack the XML diff script so it can deal with comments in-between. (Is that
OK, really? It shouldn't matter in practice, only for the tests, so...)
This means perl-sax/include passes.

17 years agoFix include for perl-sax. Now only need to fix the test.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:26:12 +0000 (13:26 +0100)]
Fix include for perl-sax. Now only need to fix the test.

17 years agoFind out how we're going to handle includes. Some comment updates. Add
sgunderson@bigfoot.com [Thu, 1 Mar 2007 12:23:50 +0000 (13:23 +0100)]
Find out how we're going to handle includes. Some comment updates. Add
(failing) include test.

17 years agoAdd a FIXME.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:50:17 +0000 (12:50 +0100)]
Add a FIXME.

17 years agoFix up the SAX cleaner. Passes cloning test!
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:49:46 +0000 (12:49 +0100)]
Fix up the SAX cleaner. Passes cloning test!

17 years agouse strict, use warnins. Glah!
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:48:50 +0000 (12:48 +0100)]
use strict, use warnins. Glah!

17 years agoAlmost fix cloning. Yay!
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:48:13 +0000 (12:48 +0100)]
Almost fix cloning. Yay!

17 years agoAdd a Buffer class, for the SAX stuff.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:16:38 +0000 (12:16 +0100)]
Add a Buffer class, for the SAX stuff.

17 years agoSplit out the TemplateSAX modules into separate files.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:09:52 +0000 (12:09 +0100)]
Split out the TemplateSAX modules into separate files.

17 years agoAdd (failing) perl-sax/clone test.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 11:02:45 +0000 (12:02 +0100)]
Add (failing) perl-sax/clone test.

17 years agoParse the IDs properly. perl-sax/simple passes!
sgunderson@bigfoot.com [Thu, 1 Mar 2007 02:13:58 +0000 (03:13 +0100)]
Parse the IDs properly. perl-sax/simple passes!

17 years agoIntroduce a SAX cleaner.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 02:09:12 +0000 (03:09 +0100)]
Introduce a SAX cleaner.

17 years agoMake perl-sax/simple almost work.
sgunderson@bigfoot.com [Thu, 1 Mar 2007 01:58:49 +0000 (02:58 +0100)]
Make perl-sax/simple almost work.

17 years agoStart working on a SAX version of the Perl stuff. Very broken yet...
sgunderson@bigfoot.com [Thu, 1 Mar 2007 01:37:08 +0000 (02:37 +0100)]
Start working on a SAX version of the Perl stuff. Very broken yet...

17 years agoAdded a note about the test suite.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:18:33 +0000 (03:18 +0200)]
Added a note about the test suite.

17 years agoMake the PHP attribute-empty hack less ugly.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:12:56 +0000 (03:12 +0200)]
Make the PHP attribute-empty hack less ugly.

17 years agoMake Python pass attribute3.py.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:12:03 +0000 (03:12 +0200)]
Make Python pass attribute3.py.

17 years agoMake PHP pass attribute3.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:10:49 +0000 (03:10 +0200)]
Make PHP pass attribute3.

17 years agoRemove unused code in xml-template.php.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:08:32 +0000 (03:08 +0200)]
Remove unused code in xml-template.php.

17 years agoFix attribute3 test for Perl.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:07:53 +0000 (03:07 +0200)]
Fix attribute3 test for Perl.

17 years agoAdd a new "attribute3" test, for testing undef/NULL/None behaviour (new
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:02:48 +0000 (03:02 +0200)]
Add a new "attribute3" test, for testing undef/NULL/None behaviour (new
in spec, all fail).

17 years agoSimplify the attribute-empty.{pl,py} test cases a bit.
sgunderson@bigfoot.com [Wed, 4 Oct 2006 01:00:45 +0000 (03:00 +0200)]
Simplify the attribute-empty.{pl,py} test cases a bit.

17 years agoAdjust the columns in test.sh.
Steinar H. Gunderson [Wed, 4 Oct 2006 00:04:53 +0000 (02:04 +0200)]
Adjust the columns in test.sh.

17 years agoHack attribute-empty.php so the test passes.
Steinar H. Gunderson [Wed, 4 Oct 2006 00:04:32 +0000 (02:04 +0200)]
Hack attribute-empty.php so the test passes.

17 years agoAdd PHP and Python variants of attribute-empty.
Steinar H. Gunderson [Tue, 3 Oct 2006 23:58:18 +0000 (01:58 +0200)]
Add PHP and Python variants of attribute-empty.

17 years agoAdd a new "attribute-empty" test.
Steinar H. Gunderson [Tue, 3 Oct 2006 23:56:04 +0000 (01:56 +0200)]
Add a new "attribute-empty" test.

17 years agoFix some possible attribute issues with the Python code, and make it clean
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:30:00 +0000 (18:30 +0200)]
Fix some possible attribute issues with the Python code, and make it clean
away the xmlns stuff.

17 years agoMake the test suite output slightly easier (?) to read.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:11:42 +0000 (18:11 +0200)]
Make the test suite output slightly easier (?) to read.

17 years agoDocument that we've got a Python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:05:24 +0000 (18:05 +0200)]
Document that we've got a Python version.

17 years agoImplement alternate() in Python. All Python tests pass!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:04:33 +0000 (18:04 +0200)]
Implement alternate() in Python. All Python tests pass!

17 years agoFix DOM replacement. include.py works!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:01:59 +0000 (18:01 +0200)]
Fix DOM replacement. include.py works!

17 years agoFix a possible latent overwrite bug in the Python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:59:54 +0000 (17:59 +0200)]
Fix a possible latent overwrite bug in the Python version.

17 years agoFix even more silly errors in attribute.py. attribute.py passes!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:58:26 +0000 (17:58 +0200)]
Fix even more silly errors in attribute.py. attribute.py passes!

17 years agoAll xml-diff errors should be fatal.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:57:44 +0000 (17:57 +0200)]
All xml-diff errors should be fatal.

17 years agoFix silly error in attribute.py test.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:57:22 +0000 (17:57 +0200)]
Fix silly error in attribute.py test.

17 years agoFix cleaning in the Python version. clone test passes!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:56:37 +0000 (17:56 +0200)]
Fix cleaning in the Python version. clone test passes!

17 years agoIn Python substitute, compare on local name, not name.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:51:20 +0000 (17:51 +0200)]
In Python substitute, compare on local name, not name.

17 years agoFix much of the cloning.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:48:41 +0000 (17:48 +0200)]
Fix much of the cloning.

17 years agoFix the exceptions in the cloning. Still doesn't work, though.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:37:56 +0000 (17:37 +0200)]
Fix the exceptions in the cloning. Still doesn't work, though.

17 years agoMake the Python tests use lists instead of tuples.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:36:22 +0000 (17:36 +0200)]
Make the Python tests use lists instead of tuples.

17 years agoStart implementing cloning in Python.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:34:24 +0000 (17:34 +0200)]
Start implementing cloning in Python.

17 years agoWrite enough of the Python version to make it pass simple.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:28:49 +0000 (17:28 +0200)]
Write enough of the Python version to make it pass simple.

17 years agoDon't need to run the full battery of tests every time.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:54:33 +0000 (16:54 +0200)]
Don't need to run the full battery of tests every time.

17 years agoAdd a skeleton xmltemplate.alternate.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:53:35 +0000 (16:53 +0200)]
Add a skeleton xmltemplate.alternate.

17 years agoAdd full range of Python regression tests.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:52:21 +0000 (16:52 +0200)]
Add full range of Python regression tests.

17 years agoMake the Python version pass the passthru test...
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:45:48 +0000 (16:45 +0200)]
Make the Python version pass the passthru test...

17 years agoAdd a trivial new “pass through” test.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:45:12 +0000 (16:45 +0200)]
Add a trivial new “pass through” test.

17 years agoAdd a skeleton python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:42:36 +0000 (16:42 +0200)]
Add a skeleton python version.

17 years agoRun PHP4 tests with -q, to avoid trying to diff non-XML.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:20:53 +0000 (16:20 +0200)]
Run PHP4 tests with -q, to avoid trying to diff non-XML.

17 years agoActually output the error when we get one.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:18:31 +0000 (16:18 +0200)]
Actually output the error when we get one.

17 years agoFix an error in test.sh.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:17:59 +0000 (16:17 +0200)]
Fix an error in test.sh.

17 years agoBe yet more flexible about the textual node diffing.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:17:33 +0000 (16:17 +0200)]
Be yet more flexible about the textual node diffing.

17 years agoBe a bit more friendly in the textual diff.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:16:07 +0000 (16:16 +0200)]
Be a bit more friendly in the textual diff.

17 years agoAdd reference files, and fix a few bugs in the test harness.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:14:34 +0000 (16:14 +0200)]
Add reference files, and fix a few bugs in the test harness.

17 years agoAdd a simple test harness.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:10:51 +0000 (16:10 +0200)]
Add a simple test harness.

17 years agoCheck the contents of text nodes when diffing.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:04:38 +0000 (16:04 +0200)]
Check the contents of text nodes when diffing.

17 years agoRemember to die if number of children differs.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:58:26 +0000 (15:58 +0200)]
Remember to die if number of children differs.

17 years agoIgnore xmlns stuff on both sides.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:57:55 +0000 (15:57 +0200)]
Ignore xmlns stuff on both sides.

17 years agoWork around that XML::NamespaceSupport uses undef instead of '' for no NSURI
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:57:24 +0000 (15:57 +0200)]
Work around that XML::NamespaceSupport uses undef instead of '' for no NSURI
(sane enough, really)

17 years agoFix yet more undefined variable errors.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:56:21 +0000 (15:56 +0200)]
Fix yet more undefined variable errors.

17 years agoMore fixes.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:55:43 +0000 (15:55 +0200)]
More fixes.

17 years agoFix more silly errors.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:55:12 +0000 (15:55 +0200)]
Fix more silly errors.

17 years agoFix a syntax error.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:54:45 +0000 (15:54 +0200)]
Fix a syntax error.

17 years agoAdd the beginnings of a test suite.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:52:03 +0000 (15:52 +0200)]
Add the beginnings of a test suite.

17 years agoAdd (empty) python directory.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:14:19 +0000 (15:14 +0200)]
Add (empty) python directory.

17 years agoFinally figure out how to remove attributes in PHP.
sgunderson@bigfoot.com [Sun, 13 Aug 2006 00:07:40 +0000 (02:07 +0200)]
Finally figure out how to remove attributes in PHP.

17 years agoFix "ID bleeding" in the PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 23:36:04 +0000 (01:36 +0200)]
Fix "ID bleeding" in the PHP.

17 years agoRevert the NULL mess in PHP; we don't need it anyhow.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:35:28 +0000 (00:35 +0200)]
Revert the NULL mess in PHP; we don't need it anyhow.

17 years agoTweaks to "empty cloning" in PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:28:03 +0000 (00:28 +0200)]
Tweaks to "empty cloning" in PHP.

17 years agoYet more cloning fixes for PHP. *sigh*
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:16:46 +0000 (00:16 +0200)]
Yet more cloning fixes for PHP. *sigh*

17 years agoYet more clone fixes for PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:08:36 +0000 (00:08 +0200)]
Yet more clone fixes for PHP.

17 years agoFix some cleaning bugs.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:49:51 +0000 (23:49 +0200)]
Fix some cleaning bugs.

17 years agoMake a workaround for PHP's broken clone_node().
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:33:16 +0000 (23:33 +0200)]
Make a workaround for PHP's broken clone_node().

17 years agoAdd a small cloning test, which PHP fails...
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:17:01 +0000 (23:17 +0200)]
Add a small cloning test, which PHP fails...

17 years agoHorrible workaround for PHP's namespace bugs.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:02:19 +0000 (23:02 +0200)]
Horrible workaround for PHP's namespace bugs.

17 years ago"Deep clean" the DOM object we include.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 20:13:44 +0000 (22:13 +0200)]
"Deep clean" the DOM object we include.