Skip to content

Commit 4bfd2cd

Browse files
committed
feature(exist-docs.rng): generate custom schema
see #262
1 parent acc1b5d commit 4bfd2cd

File tree

3 files changed

+496
-4
lines changed

3 files changed

+496
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ target/
22
*.iml
33
.idea/
44
*.xpr
5+
tmp/
56

67
github-report.html
78
node_modules/*

pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,20 @@
187187
<includes>
188188
<include>*/*.xml</include>
189189
</includes>
190-
<excludes>
191-
<exclude>template/template.xml</exclude>
192-
<exclude>db4-versions/*.xml</exclude>
193-
</excludes>
194190
<systemId>${project.baseUri}src/main/relaxng/docbook.rng</systemId>
195191
<publicId>-//OASIS//DTD DocBook V5.1//EN//XML</publicId>
196192
<validating>true</validating>
197193
<schemaLanguage>http://relaxng.org/ns/structure/1.0</schemaLanguage>
198194
</validationSet>
195+
<validationSet>
196+
<dir>src/main/xar-resources/data</dir>
197+
<includes>
198+
<include>*/*.xml</include>
199+
</includes>
200+
<systemId>${project.baseUri}src/main/relaxng/exist-docs.rng</systemId>
201+
<validating>true</validating>
202+
<schemaLanguage>http://relaxng.org/ns/structure/1.0</schemaLanguage>
203+
</validationSet>
199204
</validationSets>
200205
</configuration>
201206
</plugin>

0 commit comments

Comments
 (0)