You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Bryan Kearney <bk...@redhat.com> on 2009/06/17 14:56:45 UTC

QMF Schema Grammer

Here is a first cut of a RelaxNG grammer for QMF Schemas. It includes a 
couple of enhancements I would like to see to support code generation.. 
so I added them in to get comments. Specifically:

- class elements carry the hash value for the class.
- class elements have an extends element to denote a super type.
- created an outer element to make xml parsers happy.

Please take a look and let me know what you guys think.

-- bk

Re: QMF Schema Grammer

Posted by Bryan Kearney <bk...@redhat.com>.
Bryan Kearney wrote:
> Here is a first cut of a RelaxNG grammer for QMF Schemas. It includes a 
> couple of enhancements I would like to see to support code generation.. 
> so I added them in to get comments. Specifically:
> 
> - class elements carry the hash value for the class.
> - class elements have an extends element to denote a super type.
> - created an outer element to make xml parsers happy.
> 
> Please take a look and let me know what you guys think.

I got feedback from some folks, so here is an updated version of the 
doc. Changes are listed below. My goal with this is not to replace the 
wire transport, but rather to facilitate exchanging xml docs as "My API" 
and writing tools (mostly code generators) against that API.

Changes:
1) Changed the access property to be two characters (i.e. RW) instead of 
a word (ReadWrite).
2) Made the ClassName and PackageName elements more restrictive.
3) Added events. These look like classes. This is  different than in 
earlier schemas which listed the args in a seperate section from the events.

Comments are welcome.

-- bk