Skip to content

Commit

Permalink
Releasing focheck 0.7.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgraham-antenna committed Jun 28, 2021
1 parent ed76eee commit 1c00caf
Show file tree
Hide file tree
Showing 37 changed files with 5,694 additions and 2,090 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# focheck 0.7.10

- Added `<axf:counter-style>` for custom counter styles in `<fo:declarations>`.
- Both `<fo:basic-link>` and `<fo:bookmark>` should have an `internal-destination` or `external-destination` property.
- Added analyzer properties. (V7.1)
- Updated links to Oxygen manual in `README.md`.

# focheck 0.7.9

- Add `axf:annotation-createdate`, `axf:annotation-modify-date`, `axf:avoid-widow-words`, `axf:condensed-text-align-last`, `axf:inline-overflow-align`, `axf:keep-together-within-inline-dimension`, `axf:line-number-except-continued-line`, `axf:overflow-condense-limit-letter-spacing`, `axf:overflow-condense-limit-line-height`, `axf:quotetype`, `axf:retrieve-table-rows`, and `axf:table-auto-layout-limit`. (V7.1)
Expand Down
6 changes: 3 additions & 3 deletions add-on-ja.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oxygenxml.com/ns/extension http://www.oxygenxml.com/ns/extension/extensions.xsd">
<xt:extension id="focheck">
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.9/focheck-framework-ja-0.7.9.zip"/>
<xt:version>0.7.9</xt:version>
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.10/focheck-framework-ja-0.7.10.zip"/>
<xt:version>0.7.10</xt:version>
<xt:oxy_version>14.0+</xt:oxy_version>
<xt:type>framework</xt:type>
<xt:author>Antenna House, Inc.</xt:author>
Expand All @@ -14,7 +14,7 @@

<p><a href="https://github.com/AntennaHouse/focheck#ja">https://github.com/AntennaHouse/focheck#ja</a> を参照して下さい。</p>
</xt:description>
<xt:license><![CDATA[ Copyright 2015-2019 Antenna House, Inc.
<xt:license><![CDATA[ Copyright 2015-2021 Antenna House, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions add-on.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oxygenxml.com/ns/extension http://www.oxygenxml.com/ns/extension/extensions.xsd">
<xt:extension id="focheck">
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.9/focheck-framework-0.7.9.zip"/>
<xt:version>0.7.9</xt:version>
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.10/focheck-framework-0.7.10.zip"/>
<xt:version>0.7.10</xt:version>
<xt:oxy_version>14.0+</xt:oxy_version>
<xt:type>framework</xt:type>
<xt:author>Antenna House, Inc.</xt:author>
Expand All @@ -14,7 +14,7 @@

<p>See <a href="https://github.com/AntennaHouse/focheck#en">https://github.com/AntennaHouse/focheck#en</a>.</p>
</xt:description>
<xt:license><![CDATA[ Copyright 2015-2019 Antenna House, Inc.
<xt:license><![CDATA[ Copyright 2015-2021 Antenna House, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Version of current code base. Included in generated files.
# See instructions in 'build.xml'.
version=0.7.9
version=0.7.10

# Location of .jar for Saxon XSLT 2.0 (or later) processor
saxon.jar.windows=C:/saxon/saxon9he.jar
Expand All @@ -22,3 +22,5 @@ iso.schematron.dir=${focheck.basedir.converted}/iso-schematron-${schematron.bind

# Location of 'axs.rnc' schema for option settings.
ahfsettings.rnc=${focheck.basedir.converted}/../../ahfsettings/schema/axs.rnc

#omegat.home=C:/Program Files/OmegaT
3 changes: 1 addition & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,7 @@ AFTER making a release on GitHub:
<mkdir dir="${omegat.target.dir}" />
<!--<java jar="omegat/OmegaT.jar" fork="true"
jvm="C:/openjdk-8u232-b09/bin/java.exe">-->
<java jar="omegat/OmegaT.jar" fork="true"
jvm="C:/openjdk-8u232-b09/bin/java.exe">
<java jar="omegat/OmegaT.jar" fork="true">
<arg value="${omegat.project.dir}" />
<arg value="--config-dic=${omegat.config.dir}" />
<arg value="--mode=console-translate" />
Expand Down
1 change: 1 addition & 0 deletions build/expanded.sch
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<rule context="fo:basic-link | fo:bookmark">
<!-- https://www.w3.org/TR/xsl/#fo_basic-link -->
<!-- https://www.w3.org/TR/xsl11/#fo_bookmark -->
<assert test="exists(@internal-destination | @external-destination)" role="Warning">An '<value-of select="name()"/>' should have an 'internal-destination' or 'external-destination' property.</assert>
<report test="exists(@internal-destination) and exists(@external-destination)" role="Warning">An '<value-of select="name()"/>' should not have both 'internal-destination' and 'external-destination' properties. The FO processor may report an error or may use 'internal-destination'.</report>
</rule>

Expand Down
19 changes: 19 additions & 0 deletions build/schematron.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,25 @@
<svrl:fired-rule xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
context="fo:basic-link | fo:bookmark"/>

<!--ASSERT Warning-->
<xsl:choose>
<xsl:when test="exists(@internal-destination | @external-destination)"/>
<xsl:otherwise>
<svrl:failed-assert xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
test="exists(@internal-destination | @external-destination)">
<xsl:attribute name="role">Warning</xsl:attribute>
<xsl:attribute name="location">
<xsl:apply-templates select="." mode="schematron-select-full-path"/>
</xsl:attribute>
<xsl:attribute name="line-number" select="saxon:line-number()"/>
<xsl:attribute name="column-number" select="saxon:column-number()"/>
<svrl:text>An '<xsl:text/>
<xsl:value-of select="name()"/>
<xsl:text/>' should have an 'internal-destination' or 'external-destination' property.</svrl:text>
</svrl:failed-assert>
</xsl:otherwise>
</xsl:choose>

<!--REPORT Warning-->
<xsl:if test="exists(@internal-destination) and exists(@external-destination)">
<svrl:successful-report xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
Expand Down
1 change: 1 addition & 0 deletions build/unabstract.sch
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
<rule context="fo:basic-link | fo:bookmark">


<assert test="exists(@internal-destination | @external-destination)" role="Warning">An '<value-of select="name()"/>' should have an 'internal-destination' or 'external-destination' property.</assert>
<report test="exists(@internal-destination) and exists(@external-destination)" role="Warning">An '<value-of select="name()"/>' should not have both 'internal-destination' and 'external-destination' properties. The FO processor may report an error or may use 'internal-destination'.</report>
</rule>

Expand Down
Loading

0 comments on commit 1c00caf

Please sign in to comment.