[kupu-dev] HXTML validation of editing pages, kupu
Duncan Booth
duncan.booth at suttoncourtenay.org.uk
Sat Jan 3 15:31:16 CET 2009
Guido Wesdorp <johnny at johnnydebris.net> wrote:
> Michiel Meeuwissen wrote:
>> 2009/1/1 Morten W. Petersen <morten at nidelven-it.no>:
>>
>>> it barfs on the kupu configuration section:
>>>
>>> # <div style="display: none;">
>>> # <xml id="kupuconfig" class="kupuconfig">
>>> # <kupuconfig>
>>> #
>>> # <dst>fulldoc.html</dst>
>>> # <use_css>0</use_css>
>>> # <reload_after_save>0</reload_after_save>
>>> # ...
>>>
>>> Any ideas on how that can be fixed?
>>>
>>
>> Using namespaces, perhaps? I never tried it, but it seems the most
>> logical way to mix xml's of several document types (in this case xhtml
>> and 'kupuconfig'). I
>>
>>
> If I remember correctly, older IE versions didn't like the namespaces
> much, but a) I may be wrong, and b) it may well be that those versions
> aren't supported anymore anyway... I know the 'XML island' is not proper
> in many ways, but back then it seemed to be the best solution -
> currently I wouldn't mind replacing it with something more sane...
>
For 'more sane' I would just render the configuration block into javascript
data. We already need a javascript tag to initialise kupu so that could
accept the config data as a parameter.
More information about the kupu-dev
mailing list