Re: Considerations on RDF/XUL bindings

Neil <[email protected]> Thu, 12 May 2005 10:36:51 +0100
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
vaab wrote:

> - What about an "order" statement somewhere in the template 
> declaration ? as ORDER in SQL statement, it should be possible to sort 
> answers. I know this is possible in trees, or in javascript, but why 
> not give this possibility more low level.

In fact it's more powerful outside trees, because IIRC you can actually 
specify primary and secondary sort resources.

> - Xul templating mechanism allow some sort of conditionnal building, 
> and a limited way of looping. We lack recursion and an efficient way 
> of building template inside template.

We support conditions, as long as all you want is equality ;-)
We definitely support recursion. How else do you think the bookmarks 
toolbar works?

> - If there are syntax error, or logical error, these should be shown 
> in a special debug mode (why not when attribute debug is set to 'true' 
> in the template itself ?)

Logical error meaning an error in the programmer's logic? That would be 
a very special debug mode :-)

-- 
Warning: May contain traces of nuts.