[occi-wg] OCCI XML description

Jean Parpaillon jean.parpaillon at free.fr
Thu Sep 26 06:02:56 EDT 2013


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.

Regards,
Jean

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: 230 bytes
Desc: not available
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20130926/fa8d5a2b/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/fa8d5a2b/attachment.pgp>


More information about the occi-wg mailing list