Extended ODF schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to modify schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng to add a new attribute to number:text

I added:

  <rng:define name="number-text" combine="interleave">
    <rng:ref name="number-text-attlist"/>
  </rng:define>

  <rng:define name="number-text-attlist">
    <rng:interleave>
      <rng:optional>
        <rng:attribute name="loext:blank-width-char">
          <rng:ref name="string"/>
        </rng:attribute>
      </rng:optional>
    </rng:interleave>
  </rng:define>

But I got the following error: .../schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng[7078,43]:  Fatal: <attribute> is grouped and that group is repeated

The line number corresponds to nothing, and if I move the upper code on a different place in the file, the error is always at this unknown 7078th line.

Any idea about what I could try?

Best regards,

Laurent Balland


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux