[OpenAjaxIDE] Widget Metadata Schema questions ...
Kin Blas
jblas at adobe.com
Mon Aug 4 10:12:39 PDT 2008
So I was just taking a look at the <require> and <properties> element
schemas and noticed that *all* attributes for those nodes are optional?
http://www.openajax.org/member/wiki/OpenAjax_Metadata_Specification_Widg
et_Metadata#Require_elements
require_element = element require {
require_content & require_attributes & foreign_nodes
}
require_content = (
preload_element? & postload_element?
)
require_attributes = (
includeRef? & library? & minVersion? & name? & src? &
target? & type?
)
http://www.openajax.org/member/wiki/OpenAjax_Metadata_Specification_Prop
erties
property_element = element property {
property_content & property_attributes & foreign_nodes
}
property_content = (
option_element* & options_element? &
descriptive_elements & compatibility_elements
)
property_attributes = (
datatype? & default_attribute? & hidden? & name? & readonly?
&
required? & scope? & transient? & urlparam? & visibility? &
datatype_supplemental_attributes & pattern_attributes &
pubsub_attributes
)
Shouldn't the <require> element require a "type" and "src" attribute?
For the <property> element, shouldn't "name" and "datatype" be required?
Also, is this syntax a modified form of the RelaxNG syntax? Or is this a
homegrown syntax? It looks like relaxNG, but things like the "element"
and "attribute" keyword seem to be missing.
--== Kin ==--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080804/becc54ed/attachment.html
More information about the IDE
mailing list