Archive for February, 2007

proposal for XML Prague 2007

Wednesday, February 28th, 2007

I’ve just sent an extended abstract for the XML Prague 2007 conference. I hope it will be accepted.

(more…)

x:call for XSieve

Sunday, February 25th, 2007

Small, but pleasant functionality is added to XSieve. Now it’s possible to call arbitrary XPath functions:

(write (x:call "concat" "ab" "cde" "fgh"))
(write (x:call "generate-id"))
(write (x:call "generate-id" (x:current)))

general questions about DocBook -> LaTeX

Friday, February 23rd, 2007

In the mailing list docbook-apps, I recently answered to the post titled “General questions about DocBook -> LaTeX“. I think my notes are interesting not only for the subscribers, but also for others.

(more…)

notes on compiling XSieve for Windows

Friday, February 16th, 2007

Some time ago I tried to compile XSieve for the win32 platform. I was partially successfull, I compiled everything except of the XSieve DLL itself. I’m not going to repeat the attempt in the near future, and I have to do something with the notes. The simplest solution is to put the notes to the blog for future reference.

(more…)

“undefined namespace prefix” with XSLT prefix and two predicates

Wednesday, February 14th, 2007

I’ve caught yet another libxml2/libxslt bug: Bug 407731.

(more…)

autotools games

Tuesday, February 13th, 2007

After long break, I returned back to XSieve and found that the new tools doesn’t compile the sources.

(more…)

postponing unquote

Saturday, February 10th, 2007

I need to generate S-expressions like:

(let ((val "datum")) val)

The actual expressions are more complex, the value “datum” is dynamic, therefore the special Scheme feature “quasiquote” should be used:

(more…)

highlighting in the console

Thursday, February 8th, 2007

One of the unit testing tools (Testeez, to be more precise) is a bit too verbose. It displays not only the failed tests, but also the passed tests. When the number of the tests is big, it’s hard to find the failed one. Therefore, I decided to highlight them in red.

(more…)

codegeneration is cool

Wednesday, February 7th, 2007

The expression “1+2+3” is converted to:

(list-ec
    (:list e1 (gx:. gx:unit gx-ffi:number gx:fido (gx:unit 1)))
    (:list e2
      (gx:. gx:unit gx-ffi:number gx:fido
        (list-ec
            (:list e1 (gx:. gx:unit gx-ffi:number gx:fido (gx:unit 2)))
            (:list e2 (gx:. gx:unit gx-ffi:number gx:fido (gx:unit 3)))
          (+ e1 e2))))
  (+ e1 e2))

(more…)

wordpress 2.1

Thursday, February 1st, 2007

I’ve upgraded wordpress to the version 2.1. It wasn’t very easy because the authors have broken incompatibility with older versions, therefore my tweaked theme stopped working. I hope I repaired everything. Also, I temporary switched off spam protection to see how active are the spammers now.