[occi-wg] OCCI XML description

Jean Parpaillon jean.parpaillon at free.fr
Thu Sep 26 15:23:29 EDT 2013


Hi Ralph,


Le 26/09/2013 21:15, Ralf Nyren a écrit :
> On Thu, 26 Sep 2013 12:02:56 +0200, Jean Parpaillon
> <jean.parpaillon at free.fr> wrote:
> 
>> Hi all,
>> I've begun to write an OCCI document for the XML rendering in a private
>> git branch of occi-wg repository.
>> I've pushed it on git repository.
> 
> Nice to see the work you are doing on this.
> 
> Now I feel like the "Git police" but it would be appreciated if you kept
> the XML work in a separate branch. In general we should not commit to
> master until the material has circulated on the occi-wg list and people
> have had a chance to read it through.

That's good practive, for sure !
I will work on this branch until we agree moving onto master.

Regards,
Jean

> 
> To this end I created an "xml-data-format" branch for you and reverted
> the commit on master. E.g.:
> 
> $ git fetch
> $ git checkout -t -b xml-data-format origin/xml-data-format
> 
> regards, Ralf
> 
>> Le 18/09/2013 17:21, Jean Parpaillon a écrit :
>>> Hi,
>>> Following the OCCI-WG session in Madrid and my presentation at the
>>> workshop, please find here the link to the work I've done on XML
>>> representation of OCCI.
>>>
>>> The presentation:
>>> http://fr.slideshare.net/JeanParpaillon/occi-xml-description
>>>
>>> The schemas and examples: https://github.com/jeanparpaillon/occi-schemas
>>>
>>>
>>> The objective is to be able to describe in a formal way the OCCI
>>> extensions, independantly from implementation languages (Python, Ruby,
>>> Java, etc).
>>> Basic architecture:
>>> - XSD describe OCCI types XML representation
>>> - OCCI extensions are described with XML files, validated with XSD.
>>> - OCCI representation can be validated with above XML file, which is not
>>> an XSD. Nervertheless, XML extension file is formal enough for
>>> implementation to validate rendering.
>>> For attribute types (string, numbers, etc.), we use the XML schema type
>>> model to describe them. For instance, a mac address is described with:
>>>
>>> <xs:simpleType name="mac802">
>>>   <xs:restriction base="xs:string">
>>>     <xs:pattern value="[\da-fA-F]{2}(\:[\da-fA-F]{2}){5}" />
>>>   </xs:restriction>
>>> </xs:simpleType>
>>>
>>>
>>> Your comments are welcome,
>>>
>>>
>>>
>>> _______________________________________________
>>> occi-wg mailing list
>>> occi-wg at ogf.org
>>> https://www.ogf.org/mailman/listinfo/occi-wg
>>>
>>


-- 
Jean Parpaillon
Open Source Consultant
Phone: +33 6 30 10 92 86
im: jean.parpaillon at gmail.com
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean_parpaillon.vcf
Type: text/x-vcard
Size: 240 bytes
Desc: not available
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20130926/8ee3d25d/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20130926/8ee3d25d/attachment.pgp>


More information about the occi-wg mailing list