Aller au contenu | Aller au menu | Aller à la recherche

lundi, janvier 23 2006

Improvements on Etna

Since the 0.2.5 release, i have worked on the UI and on the RelaxNg parser.

Lire la suite...

lundi, décembre 19 2005

Etna 0.2.5

Etna 0.2.5 is released. Beside the 0.2 version, this version fixes some bugs on the RelaxNG parser and on the validator. It adds also a default stylesheet to edit xml document.

Etna is a "graphic" XML editor : you can edit XML document like you can do with HTML documents in Nvu or Mozilla Composer. Before editing a document, you have to register the corresponding RelaxNg schema into Etna.

You can use also some relaxNG pattern extensions in your schema, in order to improve the user experience, and to help Etna to edit your documents.

Etna is built on Gecko 1.7 and it is a Mozilla standalone application like Firefox, Nvu, Thunderbird etc. The core of the editor is based on the nsEditor component of Gecko.

Because it is a Mozilla application, you can develop XUL extensions and themes for Etna, especially some extensions which provides a schema and its specifics UI components. You can try for example the "tinydoc" extension, which provides a sample schema...

This version is a preview release. Some UI features are still missing, and there are still some bugs. For example, the RelaxNG parser doesn't like the docbook relaxNG schema or the xhtml relaxNG schema. But I'm working on it :-)

vendredi, juin 24 2005

My first patch on the mozilla trunk

My current project is an XML wysiwyg editor, based on Composer/Firefox. It will include a RelaxNG validator and I need a library to validate values against XML Schema datatype. Fortunately, I found a such library in the mozilla trunk, in the schema-validation extension developped by Doron Rosenberg. It is used by the XForms extension.

However, I can't use the main class (nsSchemaValidator.cpp) as is because it depends on other components that i don't need. So I move all method I want (IsValid* and Validate*) to my own class.

With my own test suite, I found some bug on this methods (the schema-validation extension is still in developpement). So I fixed them, and then I proposed a patch on bugzilla.

This patch contains only few lines of code. But this is my first patch for the mozilla project and so, this is a great moment for me :-)

jeudi, décembre 9 2004

Thanks

Thanks for your letter Stephan ! And Merry Christmas to you too :-)

mardi, septembre 7 2004

Validated teasing

screenshot an other screenshot

mercredi, août 18 2004

jsTemplateBuilder

Imagine you have some javascript data. And imagine you need to generate some xul tags from this data. The traditionnal way is to use DOM objects, with document.createElement, and setAttribute, appendChild method etc... If you have many data, the amount of code to write could be high. Very high. And it becomes difficult to debug it, to have a general view of your xml tree that you generate etc.

Another way is to use the jsTemplateBuilder object.

Lire la suite...

page 2 de 2 -