From 6718fc61b3605f649e4ba6dead4d7642fd5609dd Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 15 Apr 2015 21:37:53 +0600 Subject: Simplify the interface definition schema. 1. Don't distinguish name and value constraints, they have exact same structure. 2. Don't use individual error messages for all constraints. If they work like OR, it makes little sense. 3. Move most of data from arguments to tag bodies. --- data/schemata/interface_definition.rng | 140 +++++++++++++-------------------- 1 file changed, 55 insertions(+), 85 deletions(-) (limited to 'data/schemata/interface_definition.rng') diff --git a/data/schemata/interface_definition.rng b/data/schemata/interface_definition.rng index f502dcc..7a53182 100644 --- a/data/schemata/interface_definition.rng +++ b/data/schemata/interface_definition.rng @@ -87,6 +87,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - + + + - - + - + - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - -