Felix Meschberger wrote:
> Hi
> 
> On 24.02.2010 12:35, Carsten Ziegeler wrote:
>> Simon Gaeremynck wrote:
>>> The ignoreImportProviders property as defined on [1] states that you can 
>>> specify multiple readers you wish to ignore.
>>> For example:
>>>
>>> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
>>>
>>>
>>> AFAICT it only chooses the first one.
>>> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi. 
>>> It looks like it interprets the comma between xml and json as a seperator 
>>> of Attributes instead of a seperator of Values.
>>>
>> Thanks for finding this problem, Simon; I must have been day dreaming
>> while implementing this......in fact a comma is not allowed in the
>> attribute value, so the parser behaves correctly. But we can't use this
>> character for separating the values.
>>
> 
> Ehrm, this works as designed. But the values should be quoted like this:
> 
>   SLING-INF/content;overwrite=true;ignoreImportProviders:="xml,json"
> 
> 
D'oh - yepp, right....so I'll revert :)

Thanks
Carsten

-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to