Skip to content

Commit

Permalink
Releasing focheck 0.5.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgraham-antenna committed Sep 15, 2017
1 parent 8946d66 commit d698ec7
Show file tree
Hide file tree
Showing 32 changed files with 462 additions and 363 deletions.
4 changes: 2 additions & 2 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.5.3/focheck-framework-ja-0.5.3.zip"/>
<xt:version>0.5.3</xt:version>
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.5.4/focheck-framework-ja-0.5.4.zip"/>
<xt:version>0.5.4</xt:version>
<xt:oxy_version>14.0+</xt:oxy_version>
<xt:type>framework</xt:type>
<xt:author>Antenna House, Inc.</xt:author>
Expand Down
4 changes: 2 additions & 2 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.5.3/focheck-framework-0.5.3.zip"/>
<xt:version>0.5.3</xt:version>
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.5.4/focheck-framework-0.5.4.zip"/>
<xt:version>0.5.4</xt:version>
<xt:oxy_version>14.0+</xt:oxy_version>
<xt:type>framework</xt:type>
<xt:author>Antenna House, Inc.</xt:author>
Expand Down
2 changes: 1 addition & 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.5.3
version=0.5.4

# Location of .jar for Saxon XSLT 2.0 (or later) processor
saxon.jar.windows=C:/saxon/saxon9he.jar
Expand Down
26 changes: 12 additions & 14 deletions build/expanded.sch
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,7 @@
<!-- Shorthand: no -->
<!-- http://www.w3.org/TR/xsl11/#allowed-height-scale -->
<rule context="fo:*/@allowed-height-scale">
<let name="expression" value="ahf:parser-runner(.)"/>
<assert test="local-name($expression) = ('EnumerationToken', 'Percent', 'EMPTY', 'ERROR', 'Object')">allowed-height-scale="<value-of select="."/>" should be 'any', 'inherit', or Percent. '<value-of select="."/>' is a <value-of select="local-name($expression)"/>.</assert>
<report test="$expression instance of element(EnumerationToken) and not($expression/@token = ('any', 'inherit'))">allowed-height-scale="<value-of select="."/>" token should be 'any' or 'inherit'. Enumeration token is '<value-of select="$expression/@token"/>'.</report>
<report test="local-name($expression) = 'EMPTY'" role="Warning">allowed-height-scale="" should be 'any', 'inherit', or Percent.</report>
<report test="local-name($expression) = 'ERROR'">Syntax error: allowed-height-scale="<value-of select="."/>"</report>
<report test=". eq ''" role="Warning">allowed-height-scale="" should be '[ any | &lt;percentage&gt; ]* | inherit'.</report>
</rule>

<!-- allowed-width-scale -->
Expand All @@ -271,11 +267,7 @@
<!-- Shorthand: no -->
<!-- http://www.w3.org/TR/xsl11/#allowed-width-scale -->
<rule context="fo:*/@allowed-width-scale">
<let name="expression" value="ahf:parser-runner(.)"/>
<assert test="local-name($expression) = ('EnumerationToken', 'Percent', 'EMPTY', 'ERROR', 'Object')">allowed-width-scale="<value-of select="."/>" should be 'any', 'inherit', or Percent. '<value-of select="."/>' is a <value-of select="local-name($expression)"/>.</assert>
<report test="$expression instance of element(EnumerationToken) and not($expression/@token = ('any', 'inherit'))">allowed-width-scale="<value-of select="."/>" token should be 'any' or 'inherit'. Enumeration token is '<value-of select="$expression/@token"/>'.</report>
<report test="local-name($expression) = 'EMPTY'" role="Warning">allowed-width-scale="" should be 'any', 'inherit', or Percent.</report>
<report test="local-name($expression) = 'ERROR'">Syntax error: allowed-width-scale="<value-of select="."/>"</report>
<report test=". eq ''" role="Warning">allowed-width-scale="" should be '[ any | &lt;percentage&gt; ]* | inherit'.</report>
</rule>

<!-- auto-restore -->
Expand Down Expand Up @@ -331,10 +323,7 @@
<!-- Shorthand: no -->
<!-- http://www.w3.org/TR/xsl11/#background-image -->
<rule context="fo:*/@background-image">
<let name="expression" value="ahf:parser-runner(.)"/>
<assert test="local-name($expression) = ('URI', 'EnumerationToken', 'EMPTY', 'ERROR', 'Object')">background-image="<value-of select="."/>" should be URI, 'none', or 'inherit'. '<value-of select="."/>' is a <value-of select="local-name($expression)"/>.</assert>
<report test="local-name($expression) = 'EMPTY'" role="Warning">background-image="" should be URI, 'none', or 'inherit'.</report>
<report test="local-name($expression) = 'ERROR'">Syntax error: background-image="<value-of select="."/>"</report>
<report test=". eq ''" role="Warning">background-image="" should be '&lt;uri-specification&gt; | none | inherit'.</report>
</rule>

<!-- background-position -->
Expand Down Expand Up @@ -3312,6 +3301,15 @@
<assert test="normalize-space(../@axf:annotation-type) = ('Text', 'FreeText', 'Stamp', 'FileAttachment') or local-name(..) = 'basic-link'" role="Warning"><value-of select="name(.)"/> should be used only when @axf:annotation-type is 'Text', 'FreeText', 'Stamp', or 'FileAnnotation' or on fo:basic-link.</assert>
</rule>

<!-- axf:assumed-page-number -->
<!-- <number> -->
<!-- Inherited: yes -->
<rule context="fo:*/@axf:assumed-page-number">
<let name="expression" value="ahf:parser-runner(.)"/>
<assert test="local-name($expression) = ('Number', 'ERROR', 'Object')">'axf:assumed-page-number should be Number. '<value-of select="."/>' is a <value-of select="local-name($expression)"/>.</assert>
<report test="local-name($expression) = 'ERROR'">Syntax error: 'assumed-page-number="<value-of select="."/>"'</report>
</rule>

<!-- axf:background-color -->
<!-- <color> | transparent | inherit -->
<!-- Inherited: no -->
Expand Down
Loading

0 comments on commit d698ec7

Please sign in to comment.