Skip to content

Commit 8449ab9

Browse files
authored
Merge pull request #22 from ndw/iss-21
Delegate both http: and https: system identifiers
2 parents 9e73100 + 7be42af commit 8449ab9

File tree

4 files changed

+22
-249
lines changed

4 files changed

+22
-249
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ task dist(type: Zip, dependsOn: ["make_data_catalog", "validate", "copyNotices"]
5757
destinationDirectory = file("${buildDir}/dist")
5858
archiveFileName = "xmlresolverdata-${relVersion}.zip"
5959
}
60+
61+
task clean() {
62+
delete buildDir
63+
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = 1.2.0
2-
relVersion = 1.2.0
1+
version = 1.2.1
2+
relVersion = 1.2.1

tools/make-catalog.xsl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@
3232
catalog="cat-xhtml.xml"/>
3333
<delegateSystem systemIdStartString="https://www.w3.org/MarkUp/DTD/xhtml"
3434
catalog="cat-xhtml.xml"/>
35+
<delegateSystem systemIdStartString="http://www.w3.org/MarkUp/DTD/xhtml"
36+
catalog="cat-xhtml.xml"/>
3537
<delegateSystem systemIdStartString="https://www.w3.org/TR/xhtml"
3638
catalog="cat-xhtml.xml"/>
39+
<delegateSystem systemIdStartString="http://www.w3.org/TR/xhtml"
40+
catalog="cat-xhtml.xml"/>
3741
</xsl:variable>
3842

3943
<xsl:variable name="subset"
@@ -66,6 +70,8 @@
6670
catalog="cat-svg.xml"/>
6771
<delegateSystem systemIdStartString="https://www.w3.org/Graphics/SVG/1.1/"
6872
catalog="cat-svg.xml"/>
73+
<delegateSystem systemIdStartString="http://www.w3.org/Graphics/SVG/1.1/"
74+
catalog="cat-svg.xml"/>
6975
</xsl:variable>
7076

7177
<xsl:variable name="subset"
@@ -101,8 +107,12 @@
101107
catalog="cat-entities.xml"/>
102108
<delegateSystem systemIdStartString="https://www.w3.org/2003/entities/"
103109
catalog="cat-entities.xml"/>
110+
<delegateSystem systemIdStartString="http://www.w3.org/2003/entities/"
111+
catalog="cat-entities.xml"/>
104112
<delegateSystem systemIdStartString="https://www.w3.org/Math/DTD/mathml1/"
105113
catalog="cat-entities.xml"/>
114+
<delegateSystem systemIdStartString="http://www.w3.org/Math/DTD/mathml1/"
115+
catalog="cat-entities.xml"/>
106116
</xsl:variable>
107117

108118
<xsl:variable name="subset"
@@ -128,6 +138,8 @@
128138
<xsl:sequence select="$prefix"/>
129139
<delegateSystem systemIdStartString="https://www.w3.org/Math/DTD/mathml2/"
130140
catalog="cat-mathml2.xml"/>
141+
<delegateSystem systemIdStartString="http://www.w3.org/Math/DTD/mathml2/"
142+
catalog="cat-mathml2.xml"/>
131143
</xsl:variable>
132144

133145
<xsl:variable name="subset"
@@ -147,6 +159,8 @@
147159
<xsl:sequence select="$prefix"/>
148160
<delegateSystem systemIdStartString="https://www.w3.org/Math/DTD/mathml3/"
149161
catalog="cat-mathml3.xml"/>
162+
<delegateSystem systemIdStartString="http://www.w3.org/Math/DTD/mathml3/"
163+
catalog="cat-mathml3.xml"/>
150164
</xsl:variable>
151165

152166
<xsl:variable name="subset"
@@ -168,6 +182,8 @@
168182
<xsl:comment> At present, only the RDDL public identifiers begin with -//XML-DEV// </xsl:comment>
169183
<delegatePublic publicIdStartString="-//XML-DEV//"
170184
catalog="cat-rddl.xml"/>
185+
<delegateSystem systemIdStartString="https://www.rddl.org/"
186+
catalog="cat-rddl.xml"/>
171187
<delegateSystem systemIdStartString="http://www.rddl.org/"
172188
catalog="cat-rddl.xml"/>
173189
</xsl:variable>

tools/save-make-catalog.xsl

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)