Archive for July, 2006

xslt unit testing

Monday, July 31st, 2006

I’ll need it as soon as I start working on the DocBook stylesheets: Tennison Tests (XSLT Unit Testing).


Saturday, July 29th, 2006

Just have written to a mail list: “DOM is something I definitively avoid to use. Using DOM in programs is like programming in assembler, except the latter is fun, but the former is only tiresome coding.”.

hijacking .sconsign

Saturday, July 29th, 2006

I have a lot of functional tests for SCons processes. At some moment, I improved one of the first steps in the process. As result, now most tests fail due to “rebuilding `file‘ because the contents of the build action changed”. It’s impossible to re-made the tests. Instead, I decided to correct information in the .sconsign files.


s-expressions vs xml

Wednesday, July 26th, 2006

I’ve dumped some my thoughts to text. Result is a draft of a possible paper: “Towards s-expression based XPath/XSLT implementation“.

XPath Filename Expansion in a Unix Shell

Saturday, July 22nd, 2006

Recently I found the paper “XPath Filename Expansion in a Unix Shell” (HTML, PDF) by Kaspar Giger and Erik Wilde. I’m pleased the authors have referenced my developments (“find with XPath over file system“).

TeXML 2.0.1

Saturday, July 22nd, 2006

I’ve released a minor update of TeXML. I found that combination of the command-line flags “--ascii” and “--encoding” didn’t work as desired. Now TeXML attempts to write a symbol in the form “^^XX” first, and only then consults the rewritting maps.

testing SCons processes

Monday, July 17th, 2006

Consodoc is (at the moment) vaporware for XML publishing as PDF. It has passed unit tests, and now I’m going to test the program as the whole.


the fall of XPath over filesystem

Thursday, July 13th, 2006

Many XPath tutorials use file paths as an analogy of XPath. While it is ok from a high-level point of view, the analogy is misleading and actual technical implementations (one, another, my) are kludge (at least, my implementation). Here are some issues.

TeXML 2.0: what’s new

Wednesday, July 12th, 2006

Following the request in xml-dev:

What’s new/changed in 2.0?


announce: TeXML 2.0

Tuesday, July 11th, 2006

phpBB Antispam HOWTO

Monday, July 10th, 2006

Supporting community sites causes pain. One of the new pains is phpBB spam. I’ve collected my recommendations in the article “phpBB Antispam HOWTO“.

SCons, testing additional files to clean

Friday, July 7th, 2006

SCons supports a list of files to be also deleted on “scons -c” (cleaning). Here is a code example how to check that a file is in the list.


Friday, July 7th, 2006

Rentacoder is a good source of amusement. Recently I submitted an article to be proofread, and one of the replies was: “…Pls send us the font & style specifications & we can complete the project.We have good experience in E-conversion & Proofreading,so we will be able to do your project in no time.”

functional testing

Wednesday, July 5th, 2006

Unit testing is good, but the actual behaviour of a program also should be tested.

unit testing for SCons

Wednesday, July 5th, 2006

I’m developing a build process on top of the build system SCons. Some steps are not trivial, so unit and functional testing are required.

new TeXML docs

Wednesday, July 5th, 2006

Finally, I’ve uploaded the new TeXML documetation for the upcoming version 2.0: And it seems I’ve forgotten to announce the version 2.0.0.beta1.

converting dates

Sunday, July 2nd, 2006

Inspired by Google feature of converting units, such as “20 euro to usd”, I tried to ask for “Sat, 1 Jul 2006 14:01:40 -0700 PDT to GMT”. Unfortunately, Google don’t understand it.