Skip to content

Commit

Permalink
Address #598:
Browse files Browse the repository at this point in the history
Only check for FPIs in ident elements, not altIdent elements
  • Loading branch information
sydb committed Nov 29, 2023
1 parent d4030d5 commit fce0008
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Test2/inputFiles/testNonTeiOdd1.odd
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ schematypens="http://purl.oclc.org/dsdl/schematron"?>
<schemaSpec ident="nonTeiOdd" start="div" ns="http://www.w3.org/1999/xhtml">

<moduleSpec ident="NTO_heads">
<altIdent type="FPI">Non TEI ODD Test, headings</altIdent>
<ident type="FPI">Non TEI ODD Test, headings</ident>
<desc>This module holds the heading elements of various levels</desc>
</moduleSpec>

<moduleSpec ident="NTO_lists">
<altIdent type="FPI">Non TEI ODD Test, lists</altIdent>
<ident type="FPI">Non TEI ODD Test, lists</ident>
<desc>This module holds the elements for lists</desc>
</moduleSpec>

Expand Down
6 changes: 6 additions & 0 deletions debian-tei-xsl/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
tei-xsl (7.57.0a) natty; urgency=low

* new release from upstream

-- TEI <[email protected]> Wed, 29 Nov 2023 16:51:37 -0500

tei-xsl (7.56.0a) natty; urgency=low

* new release from upstream
Expand Down
2 changes: 1 addition & 1 deletion odds/odd2dtd.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ of this software, even if advised of the possibility of such damage.
&lt;!ENTITY % file.</xsl:text>
<xsl:value-of select="@ident"/>
<xsl:text> PUBLIC '-//TEI P5//ELEMENTS </xsl:text>
<xsl:sequence select="( tei:idno[@type eq 'FPI'], tei:altIdent[@type eq 'FPI'] )[1]"/>
<xsl:sequence select="tei:idno[@type eq 'FPI']"/>
<xsl:text>//EN' '</xsl:text>
<xsl:value-of select="@ident"/>
<xsl:text>.dtd' &gt;
Expand Down

0 comments on commit fce0008

Please sign in to comment.