[Yanel-dev] XML resource patch

Michael Wechner michael.wechner at wyona.com
Wed Jan 16 12:16:15 CET 2008


Evaldas Taroza wrote:

> Michael Wechner wrote:
>
>> Josias Thöny wrote:
>>
>>>
>>> I'm afraid we cannot change the default behavior because some 
>>> existing realms rely on this. With this patch, e.g. the 
>>> yanel-website realm doesn't work anymore.
>>
>>
>>
>> btw, it might make sense to introduce a new resource xml2.0 which has 
>> all kind of improvements, which means realms using xml resource will 
>> still work fine. This is one of the great things of Yanel ;-)
>
>
> I am not yet familiar with XML 2.0 improvements,


sorry, I wasn't refering to XML 2.0 but creating a Yanel resource called 
xml2, e.g.

<?xml version="1.0"?>

<resource xmlns="http://www.wyona.org/yanel/1.0"
  name="xml2"
  namespace="http://www.wyona.org/yanel/resource/1.0"
  class="org.wyona.yanel.impl.resources.xml2.XML2Resource"
  >

> however, to my mind, Yanel XML resource needs some cleanup possibly 
> refactoring.


as long as it doesn't break backwards compatibility that would be fine, 
but as soon as it does, we need to introduce a different resource type.

Cheers

Michi

>
> Evaldas
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list