felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Offermans <marcel.offerm...@luminis.nl>
Subject Re: Metatype: Parsing optional data with MetaDataReader
Date Sun, 05 Feb 2012 09:01:05 GMT
Welcome Frederic! You can argue that the current implementation already allows this, as it
does not trip over optional attributes: it simply ignores them. :) But I will create a Jira
issue and code to include them in the resulting Java objects.

On Feb 4, 2012, at 14:41 PM, Frederic Esnault wrote:

> I'd say that if the spec allows that, Felix should allow it too.
> My first post here, hi everyone :)
> Frederic
> 
> On Sat, Feb 4, 2012 at 2:33 PM, Marcel Offermans <
> marcel.offermans@luminis.nl> wrote:
> 
>> Hi all,
>> 
>> If you look at the metatype spec, 105.8 shows the XML schema for metatype.
>> We have a parser for it called MetaDataReader, and it basically converts
>> the XML file into a tree of Java objects (MetaData and related). The
>> schema, in several locations, allows you to use optional attributes (scan
>> the schema for <anyAttribute />). Our parser currently does not have a way
>> to read such attributes though.
>> 
>> Since it's my itch, I'd like to add support for that, but before I do the
>> work I wanted to first discuss it here. Any thoughts?
>> 
>> Greetings, Marcel
>> 
>> 


Mime
View raw message