]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
its: Refine the XML schema.
authorBruno Haible <bruno@clisp.org>
Mon, 30 Sep 2024 17:38:27 +0000 (19:38 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Sep 2024 17:38:27 +0000 (19:38 +0200)
* gettext-tools/src/its.xsd: Add comments about the default.
* gettext-tools/src/its-extensions.xsd: Likewise.

gettext-tools/src/its-extensions.xsd
gettext-tools/src/its.xsd

index 7f6c762ff2bbad3263d0abacfe8b816e863a54c6..116ef18daf348af22854b7053ccf4b47e1a3ed25 100644 (file)
@@ -27,6 +27,8 @@ Written by Bruno Haible &lt;bruno@clisp.org&gt;, 2024.
   <element name="contextRule" type="gt:ContextRuleType"></element>
   <element name="escapeRule" type="gt:EscapeRuleType"></element>
 
+  <!-- If no <its:preserveSpaceRule> nor <gt:preserveSpaceRule> is present,
+       the default 'space' property is "default".  -->
   <complexType name="ExtendedPreserveSpaceRuleType">
     <attribute name="selector" type="string" use="required"></attribute>
     <attribute name="space" use="required">
@@ -47,6 +49,8 @@ Written by Bruno Haible &lt;bruno@clisp.org&gt;, 2024.
     <attribute name="textPointer" type="string" use="optional"></attribute>
   </complexType>
 
+  <!-- If no <gt:escapeRule> is present, the default 'escape' property
+       is "yes".  -->
   <complexType name="EscapeRuleType">
     <attribute name="selector" type="string" use="required"></attribute>
     <attribute name="escape" use="required">
index 63d71e194719c7c94db777bf99b9265f1a534cf5..cd48c23f245a6756f049382ff295bb4716a4de35 100644 (file)
@@ -97,6 +97,8 @@ Written by Bruno Haible &lt;bruno@clisp.org&gt;, 2024.
     </attribute>
   </complexType>
 
+  <!-- If no <its:preserveSpaceRule> nor <gt:preserveSpaceRule> is present,
+       the default 'space' property is "default".  -->
   <complexType name="PreserveSpaceRuleType">
     <attribute name="selector" type="string" use="required"></attribute>
     <attribute name="space" use="required">