Archive for the ‘Generative XML’ Category

3 days of hunting for a bug

Thursday, May 26th, 2005

I’ve spent 3 days on getting simple code to work. In exchange I’ve got more experience with xsltproc internals. But I’m not sure it’s a fair trade.

(more…)

x:apply-templates starts to live

Tuesday, May 17th, 2005

The Scheme function “x:apply-templates” should work like the XSLT function “apply-templates”. The very basic test case is passed today.

(more…)

libxml evening

Saturday, May 7th, 2005

Today I’ve submitted a bug to libxml, written to the libxml mailing list about wish items on the documentation, and asked about xpath and the document order in libxml.

programmer’s nightmare is a coredump in malloc

Thursday, May 5th, 2005

Yesterday I updated libxml2 and xsltproc from CVS and got a coredump. I am very scared because I can’t produce a test case and I think that the problem is on libxml’s side.

(more…)

why to bother with namespaces

Tuesday, May 3rd, 2005

I found a non-obvious issue in the Namespace Recommendation and fixed my converter. Then I decided to look at other popular de-facto stanadrd tools. They are buggy. So I don’t understand why I work so hard to make my program as correct as possible.

(more…)

namespaces strike back

Tuesday, May 3rd, 2005

XML namespaces are an invention from the evil. Two harmlessly looking messages in one of the scripts evolved to two hard debug sessions. Fortunately, I managed to fix the both bugs.

(more…)

near the second milestone of the xslt/scheme project

Friday, April 29th, 2005

The conversion from the libxml nodes to SXML works, the reverse conversion works too. Meanwhile, the function “x:eval” which was planned for the third milestone is also implemented. Now I’m going to review all my remarks, fix my bugs and submit bugs to the libxml team.

one step forward, two back

Tuesday, April 26th, 2005

Conversion of the attribute nodes seems working, although with some glitches. And I traditionally mention namespaces. I decided to have holes in ns processing in the first version.

(more…)

attributes are not so simple

Saturday, April 23rd, 2005

SXML to XML conversion of attribute nodes is becaming a trouble. I’ve fixed several initially unnoticed issues and found more items to check.

(more…)

“x:eval”, “x:deep-copy”, “current()”, and attributes

Thursday, April 21st, 2005

Namespaces are still working, xml node of the type “document” is now handled correctly, XSLT XPath functions are activated. To finish with the libxml to sxml conversion, support of the top-level attribute nodes and result tree fragments should be added.

(more…)

Generative XML in FrameMaker

Thursday, April 21st, 2005

One of the use cases for XPath over legacy data is structured FrameMaker (FrameMaker+SGML). The structure is in fact XML, that’s good. But the only interface to this XML is something tree-like which is worse than DOM.

(more…)

let a bug be a feature

Tuesday, April 19th, 2005

Adding variables to XPath was a simple task. But when I was testing it, I had to switch to testing the Scheme function “x:current” (former name “x:current-node”) and then found an essential problem with the namespaces.

(more…)

namespaces in “x:value-of” are supported

Monday, April 18th, 2005

I haven’t worked on generative XML for half of month and completely forgot what I’m doing. Fortunately, the last post on this topic suggested the start point: namespaces and variables in the Scheme function “x:value-of”.

(more…)

a paper for GPCE 2005 is submitted

Saturday, April 16th, 2005

The last days were very hard. Usual activity was abandoned in favour of writing a paper for the GPCE 2005 conference.

(more…)

abstract for GPCE 2005 is submitted

Sunday, April 10th, 2005

I’m slowly and painfully writing a paper for the Generative Programming and Component Engineering (GPCE’05) conference. I hate my writing which should be thrown away and rewritten from scratch. But deadline is near, and today was a firm day for submitting abstracts.

(more…)

article section: SXML, the Lisp approach

Monday, April 4th, 2005

Article isn’t writing. Although, in general, I have ideas what to write, the actual writing is painfully slow. Today I’ve only finish a section, and I feel I’ll rewrite it somewhen.

(more…)

draft text on XML, XPath, S-expressions

Sunday, April 3rd, 2005

I’m writing a paper (not for GTTSE2005 as the previous entry may suggest). Here is a bit of the text written today.

(more…)

I’m participating in GTTSE2005

Sunday, April 3rd, 2005

Just have received a very nice notification: “The registration form you submitted has been evaluated, and we are happy to inform you that you have been ACCEPTED to participate in the Summer School on Generative and Transformational Techniques in Software Engineering (GTTSE 2005).”

directory trees

Sunday, April 3rd, 2005

I’ve just stumbled upon a new article at xml.com: Directory Trees to Document Trees. I’ve posted a comment to the article and dropped a note to the author.

(more…)

“x:value-of” is not so simple

Friday, April 1st, 2005

Implementation of the “x:value-of” function evolved to a quest. There are many questions, and in order to find answers, I have to dig in the source code of libxml and libxslt.

(more…)