From c9924dd1a783a6083f29570009b346a89b56ebe8 Mon Sep 17 00:00:00 2001 From: David Maus Date: Sun, 11 Nov 2018 10:44:46 +0100 Subject: [PATCH 1/2] Reverse the logic of autodetecting `only-child-elements' Fix #71 --- trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl b/trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl index d18f216..56dbece 100644 --- a/trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl +++ b/trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl @@ -485,8 +485,8 @@ which require a preprocess. --> - true - false + false + true From ab862f433b44f6c2562953f3d59c34a72b4f1c03 Mon Sep 17 00:00:00 2001 From: David Maus Date: Sun, 11 Nov 2018 10:47:46 +0100 Subject: [PATCH 2/2] Reverse logic of `only-child-elements' in XSLT1, too --- trunk/schematron/code/iso_schematron_skeleton_for_xslt1.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/schematron/code/iso_schematron_skeleton_for_xslt1.xsl b/trunk/schematron/code/iso_schematron_skeleton_for_xslt1.xsl index 9a764df..32c1cee 100644 --- a/trunk/schematron/code/iso_schematron_skeleton_for_xslt1.xsl +++ b/trunk/schematron/code/iso_schematron_skeleton_for_xslt1.xsl @@ -447,8 +447,8 @@ THE SOFTWARE. --> - true - false + false + true