[Home] [By Thread] [By Date] [Recent Entries]
On 30/11/06, Henri Sivonen <hsivonen@i...> 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] |

Cart



