diff options
| author | Stefan Behnel <stefan_ml@behnel.de> | 2018-11-23 20:57:12 +0100 |
|---|---|---|
| committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-11-23 20:57:12 +0100 |
| commit | 4980b025bd84af6f0254db93a982a67ca23fc79e (patch) | |
| tree | 10b5780f1f896e7650d1b13bb42652eb0c09ecae | |
| parent | 92901bd2b2ff9280df4c9d5ae720e390dfb4da18 (diff) | |
| download | python-lxml-4980b025bd84af6f0254db93a982a67ca23fc79e.tar.gz | |
Make <properties> tag in ISO-Schematron RNG optional, diverging from the 2016 version of the standard.
| -rw-r--r-- | src/lxml/isoschematron/resources/rng/iso-schematron.rng | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lxml/isoschematron/resources/rng/iso-schematron.rng b/src/lxml/isoschematron/resources/rng/iso-schematron.rng index dcb08038..a4f504af 100644 --- a/src/lxml/isoschematron/resources/rng/iso-schematron.rng +++ b/src/lxml/isoschematron/resources/rng/iso-schematron.rng @@ -83,7 +83,10 @@ <optional> <ref name="diagnostics"/> </optional> - <ref name="properties"/> + <optional> + <!-- edited (lxml): required in standard, optional here (since it can be empty anyway) --> + <ref name="properties"/> + </optional> </group> </interleave> </element> |
