[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Victory has been declared in the schema wars ...
- From: "Pete Kirkham" <mach.elf@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 30 Nov 2006 20:40:52 +0000
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]