altoxml / schema

ALTO XML schema - latest and all former versions
51 stars 4 forks source link

FONTSTYLE: add "strikethrough" to list of allowed values #61

Closed janvonde closed 4 years ago

janvonde commented 5 years ago

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.

artunit commented 5 years ago

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.

janvonde commented 5 years ago

Thank you! :smile:

janvonde commented 4 years ago

Can I ask about the current state of the discussion?

artunit commented 4 years ago

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.

artunit commented 4 years ago

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.

artunit commented 4 years ago

ACCEPT

ntra00 commented 4 years ago

ACCEPT

cneud commented 4 years ago

ACCEPT

splet commented 4 years ago

ACCEPT

hanyelsawy commented 4 years ago

ACCEPT

cipriandinu commented 4 years ago

ACCEPT

cowboyMontana commented 4 years ago

ACCEPT

jukervin commented 4 years ago

ACCEPT

callylaw commented 4 years ago

ACCEPT

bkgeig commented 4 years ago

ACCEPT

artunit commented 4 years ago

Added in v4.2, released August 2020.