I have now completed a series of modifications to the RelaxNG schema and
the spec to reflect decisions from last week's phone call. One of those
changes was our decision last week that plural elements are optional.
Therefore, you can say either:
<api ...>
<class name="foo">...</class>
<class name="bar">...</class>
</api>
or
<api>>
<classes>
<class name="foo">...</class>
<class name="bar">...</class>
</classes>
</api>
This applies in general across the language. For example, with the
<require> element, it can be either:
<widget ...>
<require .../>
<require .../>
</widget>
or
<widget ...>..
<requires>..
<require .../>
<require .../>
</requires>...
</widget>
I included a new section on "Plural and singular elements" in the
Introduction chapter:
*
http://www.openajax.org/member/wiki/OpenAjax_Metadata_Specification_Introduction#Plural_and_singular_elements
Please review the spec and the schema snippets in the spec and speak up if
you see any problems.
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080714/344b4296/attachment.html