XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Victory has been declared in the schema wars ...

On 30/11/06, Henri Sivonen <hsivonen@iki.fi> wrote:
> Exclusions are easy to tack on in Schematron. However, for a RELAX NG-
> only editing schema, these need to be factored into the grammar,
> which causes an explosion of parallel productions for a given element
> that differ in terms of what the ancestors are at a given point.

It needn't. None of the programming code completion environments I've
worked with ensure correctness of the completions. You run the
schematron rules in the background, and when they're violated add wavy
red underlines and the nice human-readable errors as tooltips.
Restricting the referents is dealt with by using a reference datatype
with the allowed referent types as a parameter, rather than the
built-in IDREF mechanism.


Pete


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS