Skip to content

Commit a757e34

Browse files
Releasing focheck 0.7.9.
1 parent 24a446a commit a757e34

40 files changed

+9055
-1991
lines changed

ChangeLog.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# focheck 0.7.9
2+
3+
- 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)
4+
- `axf:overflow-condense` model allows multiple tokens. (V7.1)
5+
- Add `keep-non-spaces` to `axf:word-break`. (V7.1)
6+
- Reformat patterns for `axf:spread-page-master`.
7+
- More thrashing with IDS. (#42)
8+
19
# focheck 0.7.8
210

311
- Excluding elements in more namespaces instead of allowing 'id', etc. (#42)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
136136
See the License for the specific language governing permissions and
137137
limitations under the License.
138138

139-
Additional components:
139+
### Additional components:
140140

141141
The HTML MathML entity set is bundled with the **focheck** oXygen framework but is not included in the **focheck** schema.
142142
The entity set was downloaded from http://www.w3.org/TR/xml-entity-names/

add-on-ja.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://www.oxygenxml.com/ns/extension http://www.oxygenxml.com/ns/extension/extensions.xsd">
55
<xt:extension id="focheck">
6-
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.8/focheck-framework-ja-0.7.8.zip"/>
7-
<xt:version>0.7.8</xt:version>
6+
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.9/focheck-framework-ja-0.7.9.zip"/>
7+
<xt:version>0.7.9</xt:version>
88
<xt:oxy_version>14.0+</xt:oxy_version>
99
<xt:type>framework</xt:type>
1010
<xt:author>Antenna House, Inc.</xt:author>

add-on.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://www.oxygenxml.com/ns/extension http://www.oxygenxml.com/ns/extension/extensions.xsd">
55
<xt:extension id="focheck">
6-
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.8/focheck-framework-0.7.8.zip"/>
7-
<xt:version>0.7.8</xt:version>
6+
<xt:location href="https://github.com/AntennaHouse/focheck/releases/download/v0.7.9/focheck-framework-0.7.9.zip"/>
7+
<xt:version>0.7.9</xt:version>
88
<xt:oxy_version>14.0+</xt:oxy_version>
99
<xt:type>framework</xt:type>
1010
<xt:author>Antenna House, Inc.</xt:author>

build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Version of current code base. Included in generated files.
22
# See instructions in 'build.xml'.
3-
version=0.7.8
3+
version=0.7.9
44

55
# Location of .jar for Saxon XSLT 2.0 (or later) processor
66
saxon.jar.windows=C:/saxon/saxon9he.jar

build/check-schematron.xsl

+21-1
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,28 @@
1414
<xsl:variable name="document-uri">
1515
<xsl:value-of select="document-uri(/)"/>
1616
</xsl:variable>
17+
1718
<!--PHASES-->
19+
20+
1821
<!--PROLOG-->
1922
<xsl:output method="text"/>
23+
2024
<!--XSD TYPES FOR XSLT2-->
25+
26+
2127
<!--KEYS AND FUNCTIONS-->
28+
29+
2230
<!--DEFAULT RULES-->
31+
32+
2333
<!--MODE: SCHEMATRON-SELECT-FULL-PATH-->
2434
<!--This mode can be used to generate an ugly though full XPath for locators-->
2535
<xsl:template match="*" mode="schematron-select-full-path">
2636
<xsl:apply-templates select="." mode="schematron-get-full-path"/>
2737
</xsl:template>
38+
2839
<!--MODE: SCHEMATRON-FULL-PATH-->
2940
<!--This mode can be used to generate an ugly though full XPath for locators-->
3041
<xsl:template match="*" mode="schematron-get-full-path">
@@ -61,6 +72,7 @@
6172
</xsl:otherwise>
6273
</xsl:choose>
6374
</xsl:template>
75+
6476
<!--MODE: SCHEMATRON-FULL-PATH-2-->
6577
<!--This mode can be used to generate prefixed XPath for humans-->
6678
<xsl:template match="node() | @*" mode="schematron-get-full-path-2">
@@ -94,6 +106,7 @@
94106
<xsl:text/>/@<xsl:value-of select="name(.)"/>
95107
</xsl:if>
96108
</xsl:template>
109+
97110
<!--MODE: GENERATE-ID-FROM-PATH -->
98111
<xsl:template match="/" mode="generate-id-from-path"/>
99112
<xsl:template match="text()" mode="generate-id-from-path">
@@ -117,6 +130,7 @@
117130
<xsl:text>.</xsl:text>
118131
<xsl:value-of select="concat('.',name(),'-',1+count(preceding-sibling::*[name()=name(current())]),'-')"/>
119132
</xsl:template>
133+
120134
<!--MODE: GENERATE-ID-2 -->
121135
<xsl:template match="/" mode="generate-id-2">U</xsl:template>
122136
<xsl:template match="*" mode="generate-id-2" priority="2">
@@ -139,13 +153,19 @@
139153
</xsl:template>
140154
<!--Strip characters-->
141155
<xsl:template match="text()" priority="-1"/>
156+
142157
<!--SCHEMA SETUP-->
143158
<xsl:template match="/">
144159
<xsl:apply-templates select="/" mode="M3"/>
145160
</xsl:template>
161+
146162
<!--SCHEMATRON PATTERNS-->
163+
164+
147165
<!--PATTERN P1-->
148-
<!--RULE -->
166+
167+
168+
<!--RULE -->
149169
<xsl:template match="svrl:failed-assert | svrl:successful-report"
150170
priority="1000"
151171
mode="M3">

0 commit comments

Comments
 (0)