altoxml / schema

ALTO XML schema - latest and all former versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FONTSTYLE: add "strikethrough" to list of allowed values

janvonde opened this issue · comments

We would like to mark crossed out words in ALTO files using the FONTSTYLE attribute but there is no option in the list of allowed elements. I suggest adding "strikethrough" or similar there.

Just to be sure I am capturing this properly, this would entail changing the fontStylesType as follows:

<xsd:simpleType name="fontStylesType">
   <xsd:annotation>
      <xsd:documentation>List of any combination of font styles</xsd:documentation>
   </xsd:annotation>
   <xsd:restriction>
      <xsd:simpleType>
         <xsd:list>
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:enumeration value="bold"/>
                  <xsd:enumeration value="italics"/>
                  <xsd:enumeration value="subscript"/>
                  <xsd:enumeration value="superscript"/>
                  <xsd:enumeration value="smallcaps"/>
                  <xsd:enumeration value="strikethrough"/>
                  <xsd:enumeration value="underline"/>
               </xsd:restriction>
         </xsd:simpleType>
         </xsd:list>
      </xsd:simpleType>
      <xsd:minLength value="1"/>
   </xsd:restriction>
</xsd:simpleType>

I don't think there would be any objection to this change but I will flag it for the next Board meeting.

Thank you! 😄

Can I ask about the current state of the discussion?

This was discussed at the 2020-02-14 Board Meeting and there was general agreement for adding to the list of allowed values. There was a sense that it would a good opportunity to put together a list of additional font styles that are used in other XML schema and that should appear here. I will follow up on this, we had planned for an in-person Board meeting on April 22 as part of the the Impresso conference, and I am hoping we can arrange for a virtual equivalent if the conference goes ahead online.

As per the discussion on issue #65 and the opportunity of a new revision to the schema, this issue is open for voting by Board Members, using the proposed syntax in the comment.

ACCEPT

ACCEPT

ACCEPT

ACCEPT

ACCEPT

ACCEPT

ACCEPT

Added in v4.2, released August 2020.