OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] RELAX NG Marketing (was RE: [xml-dev] Do Names Matter?)

[ Lists Home | Date Index | Thread Index ]

> From: Matthew Gertner [mailto:matthew.gertner@schemantix.com] 

> Well, we're supposing that there are two alternatives for 
> element defaulting
> (besides just ditching the whole idea): 1) default empty 
> elements or 2)
> default non-present elements. If the latter is desired, it can be
> "simulated" with the former by setting the minimum occurrence 
> value to one.

IMHO, an element defaulting scheme should be flexible enough to allow
element defaulting in any number of occurrences and level of nesting.
The above, although useful, is not flexible; It is more appropriate to
design something complete from the ground up instead of compatible
workarounds that wont do later on.

Also IMHO, the semantics of a defaulting scheme should be a separate
group of semantics in a schema language otherwise it gets difficult to
follow and maintain/reuse. Something like the attribute-set, or maybe a
default-type where it's definition includes or references any
combination of complex and simple types.




News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS