[Phoenix] Parser exception re introspection files

Michael Wechner michael.wechner at wyona.com
Thu Sep 28 14:52:47 CEST 2006


Andreas Wuest wrote:

> Hi
>
> On 28.9.2006 10:14 Uhr, Michael Wechner wrote:
>
>> Hi
>>
>> I just realized that Yulup rc5 throws an exception when trying to parse
>>
>>
>> <navigation>
>>  <sitetree href="sitetree.xml" method="GET"/>
>> </navigation>
>>
>> within an introspection file. Gregor told that this is because Yulup 
>> rc5  has this "method" kind of implemented, but
>> not fully. I have commented it for the moment such that the demo is 
>> working again for people using Yulup rc5.
>>
>> But how can we prevent that future versions have similar problems?
>>
>> Shouldn't we upgrade the version within the namespace when we 
>> introduce new elements, such that Yulup can check and doesn't get a 
>> hickup?
>
>
> Sure, that would be the cleanest solution, although it somehow kills 
> the idea of forward-compatible... ;)


that shouldn't be of course

>
> If Yulup would run into an introspection document with a higher 
> Neutron version than it supports, it would simply say "don't know 
> about this, can't use", and halt.
>
> Anyway, when introcuding *new* elements, they should simply be ignored 
> by a client,


exactly

> and therefore there would be no need to force a client to fail by 
> bumping the Neutron version number.
>
> See e.g. this document http://www.w3.org/2001/tag/doc/versioning for a 
> discussion of versioning issues and how to resolve them with regard to 
> XML languages.


I guess for the moment we should write down a test-suite which the 
release manager needs to check before actually releasing.

I will start something ;-)

Thanks

Michi


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




More information about the Phoenix mailing list