Archive for August, 2005

xsltproc: nodeset sort fails on a namespace node

Monday, August 29th, 2005

Another libxml2/libxslt bug is found and reported by me.

(more…)

debugging memory problems – II

Sunday, August 28th, 2005

After fixing problems with garbage collection, other memory errors are trivial, even if they take a while. This time I used xmlXPathConvertString, which frees its argument. I must read documentation more attentive. What I need is xmlXPathCastToString.

debugging memory problems

Saturday, August 27th, 2005

I should feel lucky. I’ve debugged and fixed program crashes, which were induced by garbage collection. It have taken only 4 days. I’ve added 5 lines to the program, and 8 problem issues go away, and more issues will be closed after testing.

(more…)

Incorporating Guile into your C program

Saturday, August 27th, 2005

I’m sad I didn’t find the article “Incorporating Guile into your C program” before. It would save me a lot of time. Although the author annotates the article as “a old howto I wrote (very probably terribly out of date at this point as I gave up on Guile a long time ago)”, the article is still correct and very useful (especially in the GC part).

1 October 2005, update

The document is inaccessable today due to problems with the server. Instead, the document can be downloaded from Unofficial Guile Docbits.

I’m not gready

Thursday, August 25th, 2005

descriptions of the Tree Help plugin

Thursday, August 25th, 2005

This auxiliary entry is reserved for collecting descriptions of the Tree Help Plugin for Structured FrameMaker.

(more…)

last week of XSieve

Wednesday, August 24th, 2005

I haven’t release a new version of XSieve, and there are no user-visible changes, but it doesn’t mean I do nothing. I’ve been working on low-level technical issues and writing documentation.

(more…)

nasty libxslt surprise

Tuesday, August 23rd, 2005

Libxslt optimizes “xsl:text”, but there is no mention of the optimization neither on the site of libxslt, neither in its mailing list. I’ve got the knowledge from the deep debugging session. Should I hate libxslt, or should I love it for its puzzles?

(more…)

string value of entities

Tuesday, August 23rd, 2005

The XPath specification doesn’t define what is the string value of an entity. Even more, the data model for XPath doesn’t have entities. But in XSieve I do have entities.

(more…)

GTTSE 2005 photos

Sunday, August 21st, 2005

Finally, my GTTSE 2005 photos are online. The start page is approximately 2Mb, and larger photos are of 300Kb-1Mb size. Unfortunately, I can’t describe how great was the event. Instead, read “Resume from GTTSE Summer School” by Steen Brahe.

one more libxslt bug

Thursday, August 18th, 2005

That’s not funny. Again the namespaces, again a libxslt bug. Libxslt is confused when XSLT and XML use the same prefix with different URI.

(more…)

now wt2db bug

Thursday, August 18th, 2005

Yet another bug, in yet another program. I like wt2db (WikiText to DocBook, I’ve already written about wt2db), so I’ve submitted a bug.

(more…)

namespace collision with namespace-alias

Wednesday, August 17th, 2005

I’m trying to write a sort of generative XSLT: an XSLT stylesheet which creates another XSLT stylesheet. Unfortunately, I’ve confused xsltproc.

(more…)

make sure if it is really an error

Tuesday, August 16th, 2005

I was near starting to fix a “bug”. Fortunately, I asked myself: “is it really a bug, or is it misunderstanding of the specification?” That’s saved me a time. Actually, all works correct and error is in tests.

XSieve 0.0.3

Monday, August 15th, 2005

I’ve just released XSieve 0.0.3. The main changes since XSieve 0.0.2, which was released a week ago, are:

(more…)

too smart

Thursday, August 11th, 2005

From a letter. “You should make Python Script for … look more impressive. Currently it works less than 1 second and displays: “ready, press any key”. We expect …”

programlistingco is fake

Thursday, August 11th, 2005

Don’t use programlistingco and other co-elements of DocBook. They are not supported in full by the DocBook XSL stylesheets.

(more…)

adding recursive targets to [auto]make

Wednesday, August 10th, 2005

I wanted to add my own recursive target in addition to the recursive targets produced by automake. It was not easy.

(more…)

XSieve 0.0.2

Tuesday, August 9th, 2005

XSieve 0.0.2 is the first public release of XSieve, a language which interweaves XSLT and Scheme.

(more…)

autotools are not so scary

Saturday, August 6th, 2005

This week I was porting XSieve installation tarball to GNU standards, in particular, to using ./configure, make, make install. It was not easy, especially because my package is not standard, but I’ve done it. On Monday I plan to update documentation and release the version 0.0.2.

(more…)