Allow zero as value of text:start-value in <text:outline-level-style> and <text:list-level-style-number> in 19.874

    • Hide
      diff --git a/OpenDocument-v1.3-schema.rng b/OpenDocument-v1.3-schema_nonNegativeInteger.rng
      index dc77c4f..34b027a 100755
      --- a/OpenDocument-v1.3-schema.rng
      +++ b/OpenDocument-v1.3-schema_nonNegativeInteger.rng
      @@ -17360,7 +17360,7 @@
       </rng:optional>
       <rng:optional>
       <rng:attribute name="text:start-value">
      - <rng:ref name="positiveInteger"/>
      + <rng:ref name="nonNegativeInteger"/>
       </rng:attribute>
       </rng:optional>
       </rng:interleave>
      @@ -17659,7 +17659,7 @@
       </rng:optional>
       <rng:optional>
       <rng:attribute name="text:start-value">
      - <rng:ref name="positiveInteger"/>
      + <rng:ref name="nonNegativeInteger"/>
       </rng:attribute>
       </rng:optional>
       </rng:interleave>
      
      
      Show
      diff --git a/OpenDocument-v1.3-schema.rng b/OpenDocument-v1.3-schema_nonNegativeInteger.rng index dc77c4f..34b027a 100755 --- a/OpenDocument-v1.3-schema.rng +++ b/OpenDocument-v1.3-schema_nonNegativeInteger.rng @@ -17360,7 +17360,7 @@ </rng:optional> <rng:optional> <rng:attribute name="text:start-value"> - <rng:ref name="positiveInteger"/> + <rng:ref name="nonNegativeInteger"/> </rng:attribute> </rng:optional> </rng:interleave> @@ -17659,7 +17659,7 @@ </rng:optional> <rng:optional> <rng:attribute name="text:start-value"> - <rng:ref name="positiveInteger"/> + <rng:ref name="nonNegativeInteger"/> </rng:attribute> </rng:optional> </rng:interleave>

      Resoning:
      The value 0 is explicitly allowed in German standard DIN 1421, section 3.1.3. Same is true for the international standard ISO 2145. I have no access to the original ISO, but read https://en.wikipedia.org/wiki/ISO_2145.
      MS Office allows a list to start with number 0. So this would increase interoperability.
      Zero is allowed for the now deprecated <text:numbered-paragraph>, so the now to be used solutions needs to allow it too.
      To allow zero makes is consistence with the other uses cases in 19.874, which have nonNegativeInteger

            Assignee:
            Unassigned
            Reporter:
            Regina Henschel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: