Hello, 

> -----Message d'origine-----
> De : Stefano Lenzi [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 17 août 2007 18:47
> À : [email protected]
> Cc : Maxime Vincent
> Objet : Re: [FELIX-219] Applying the patch
> 
> Stefano Lenzi wrote:
> > Clement Escoffier wrote:
> >> Hello,
> [cut]
> >>
> >>
> >> For sure, using Castor seems to me the right approach. But first, we
> >> need to
> >> write the OBR XML Schema (Castor input)
> >
> > I'm going to write it :)
> >
> 
> I'm trying to define the XML Schema but there is a problem in using XML
> Schema to implement the parser for the OBRv2 XML, in fact the problem
> is
> that the OBRv2 RFC
> (http://www2.osgi.org/download/rfc-0112_BundleRepository.pdf) do not
> does not define any official tag for:
>   - source
>   - documentation
>   - size
>   - license
>   - etc.


Maxime uses :
<source>URI</source> (used the SCM element of the pom file)
<documentation>URI</documentation> (use the URL element of the pom file)
<size>size in bytes</size>
<licence>URI</licence> (gathered by using bindex and the pom file (licences
URI are separated by ';')


> 
> So there is not way to create a XML Schema for such tag, which at the
> moment are handled manually :S

I am not sure if these conventions are corrects (according to the spec),
however we never use it really these tags (only for resource describing).

Clement


Reply via email to