By Date: <-- -->
By Thread: <-- -->

[XAR2] New implementation of Blocklayout compiler



"Brian Bain" <xaraya (at) tefen.net> wrote in message 
news:mailman.168.1162596143.17193.xaraya_devel (at) xaraya.com...
> Marcel van der Boom wrote:
>> Some observations from testing i'd like to share:
>>
>> - as XSL is very strict in what it will and wont do for you, there's very 
>> little room for 'cheating' with undefined entities, unclosed tags or 
>> other invalid XML constructs. This in itself can be a pain sometimes, but 
>> the good news is that in core I only had to change a handful of things to 
>> bring it into shape.
>>
>>
>
> This causes me some worry.  I've been playing with ajax on Xaraya quite a 
> bit lately, and I've found that creating my own "ajax" templates seems to 
> work pretty well.  The typical template may read like this:
>
> <screenElement1>
>    <item id="123" value="Item 1" />
>    <item id="234" value="Item 2" />
> </screenElement1>
> <screenElement2>
>    <foo bar="bar1" />
>    <foo bar="bar 2" />
> </screenElement2>
>
> Does this change mean that I won't be able to do such a thing unless I 
> define each screenElement and item and foo?

I'd guess this would not be a problem. The above looks like well-formed XML, 
so should pass through okay. It may not pass a validating parser, without a 
matching DTD, but I think Marcel is talking about well-formed XML, rather 
than validated XML, at this stage at least.

-- JJ


_______________________________________________
Xaraya_devel mailing list
Xaraya_devel (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_devel