From 0c0e7e3c8d4bd2490b21e0371389a5993c4b7901 Mon Sep 17 00:00:00 2001 From: Drishti160803 Date: Thu, 26 Mar 2026 16:02:18 +0530 Subject: [PATCH] Improve diagnostic messages for af10101, af10102, af10103, af10104, af10109, af10110, af10112, af10113 --- validation/rules/sbgn_af.sch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/validation/rules/sbgn_af.sch b/validation/rules/sbgn_af.sch index 759d648..3af8560 100755 --- a/validation/rules/sbgn_af.sch +++ b/validation/rules/sbgn_af.sch @@ -79,7 +79,7 @@ Schematron validation for SBGN AF $port-class='or' or $port-class='not' or $port-class='delay'" - diagnostics="id source source-class port-class">Incorrect source reference for influence arc + diagnostics="id source source-class port-class">Arc has an incorrect source reference. The source glyph has a class which is not allowed as a source for a positive influence arc. Source must be an activity node or a delay glyph. @@ -98,7 +98,7 @@ Schematron validation for SBGN AF test=" $target-class='biological activity' or $target-class='phenotype'" - diagnostics="id target target-class port-class">Incorrect target reference for influence arc + diagnostics="id target target-class port-class">Arc has an incorrect target reference. The target glyph has a class which is not allowed as a target for a positive influence arc. Target must be an activity node or phenotype. @@ -121,7 +121,7 @@ Schematron validation for SBGN AF $class='necessary stimulation' or $class='unknown influence' " - diagnostics="id class">This arc class is not allowed in Activity Flow + diagnostics="id class">Arc has a class which is not permitted in an Activity Flow diagram. Please check the SBGN AF specification for the list of allowed arc classes. @@ -149,7 +149,7 @@ Schematron validation for SBGN AF $class='perturbation' or $class='phenotype' " - diagnostics="id class">This glyph class is not allowed in Activity Flow + diagnostics="id class">Glyph has a class which is not permitted in an Activity Flow diagram. Please check the SBGN AF specification for the list of allowed glyph classes. @@ -166,7 +166,7 @@ Schematron validation for SBGN AF see="sbgn-af-L1V1.0-3.3.1" test=" $source-class='biological activity'" - diagnostics="id source source-class">Incorrect source reference for arc with class "logic arc" + diagnostics="id source source-class">Arc has an incorrect source reference. The source glyph has a class which is not allowed as a source for a logic arc. Source must be a biological activity node or a logic operator. @@ -187,7 +187,7 @@ Schematron validation for SBGN AF $port-class='or' or $port-class='not' or $port-class='delay'" - diagnostics="id target target-class port-class">Incorrect target reference for arc with class "logic arc" + diagnostics="id target target-class port-class">Arc has an incorrect target reference. The target glyph has a class which is not allowed as a target for a logic arc. Target must be a logic operator or delay glyph. @@ -222,7 +222,7 @@ Schematron validation for SBGN AF test=" $source-class='biological activity' or $source-class='compartment'" - diagnostics="id source source-class">Incorrect source reference for arc with class "equivalence arc" + diagnostics="id source source-class">Arc has an incorrect source reference. The source glyph has a class which is not allowed as a source for an equivalence arc. Source must be a biological activity or compartment glyph. @@ -240,7 +240,7 @@ Schematron validation for SBGN AF $target-class='tag' or $target-class='submap' or $target-class='terminal'" - diagnostics="id target target-class">Incorrect target reference for arc with class "equivalence arc" + diagnostics="id target target-class">Arc has an incorrect target reference. The target glyph has a class which is not allowed as a target for an equivalence arc. Target must be a tag, submap, or terminal glyph. @@ -272,4 +272,4 @@ Schematron validation for SBGN AF - \ No newline at end of file +