diff --git a/bom/pom.xml b/bom/pom.xml
index 944fa2c..fcd4498 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -38,7 +38,7 @@
org.daisy.pipeline.modules
html-utils
- 3.0.1
+ 3.1.0-SNAPSHOT
org.daisy.pipeline.modules
diff --git a/html-utils/pom.xml b/html-utils/pom.xml
index 4fc703b..6869b67 100644
--- a/html-utils/pom.xml
+++ b/html-utils/pom.xml
@@ -11,16 +11,55 @@
html-utils
- 3.0.2-SNAPSHOT
+ 3.1.0-SNAPSHOT
bundle
DAISY Pipeline 2 module :: HTML Utilities
-
+
+ org.daisy.pipeline
+ calabash-adapter
+ test
+
+
+ org.daisy.pipeline.build
+ modules-test-helper
+ test
+
+
+
+
+ org.ops4j.pax.exam
+ maven-paxexam-plugin
+
+
+ generate-depends-file
+
+ generate-depends-file
+
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+
+
+ bundle-before-test
+ generate-test-resources
+
+ bundle
+
+
+
+
+
+
+
diff --git a/html-utils/src/main/resources/META-INF/catalog.xml b/html-utils/src/main/resources/META-INF/catalog.xml
index 84a0a81..1a8598e 100755
--- a/html-utils/src/main/resources/META-INF/catalog.xml
+++ b/html-utils/src/main/resources/META-INF/catalog.xml
@@ -6,8 +6,6 @@
uri="../xml/xslt/html5-outliner.xsl"/>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/html-utils/src/main/resources/xml/xproc/html-library.xpl b/html-utils/src/main/resources/xml/xproc/html-library.xpl
index 7459c2e..b4d1b4f 100755
--- a/html-utils/src/main/resources/xml/xproc/html-library.xpl
+++ b/html-utils/src/main/resources/xml/xproc/html-library.xpl
@@ -2,5 +2,6 @@
+
diff --git a/html-utils/src/test/java/XProcSpecTest.java b/html-utils/src/test/java/XProcSpecTest.java
new file mode 100644
index 0000000..e0a6688
--- /dev/null
+++ b/html-utils/src/test/java/XProcSpecTest.java
@@ -0,0 +1,11 @@
+import org.daisy.pipeline.junit.AbstractXSpecAndXProcSpecTest;
+
+import org.junit.Test;
+
+public class XProcSpecTest extends AbstractXSpecAndXProcSpecTest {
+
+ @Override @Test
+ public void runXSpec() {
+ // already run with xspec-maven-plugin
+ }
+}
diff --git a/html-utils/src/test/resources/config-calabash.xml b/html-utils/src/test/resources/config-calabash.xml
new file mode 100644
index 0000000..4bc461f
--- /dev/null
+++ b/html-utils/src/test/resources/config-calabash.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/html-utils/src/test/resources/exam.properties b/html-utils/src/test/resources/exam.properties
new file mode 100644
index 0000000..93fdd86
--- /dev/null
+++ b/html-utils/src/test/resources/exam.properties
@@ -0,0 +1 @@
+pax.exam.logging = none
diff --git a/html-utils/src/test/resources/logback.xml b/html-utils/src/test/resources/logback.xml
new file mode 100644
index 0000000..494f8ad
--- /dev/null
+++ b/html-utils/src/test/resources/logback.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+ target/test.log
+
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
+
+
+
diff --git a/html-utils/src/test/xprocspec/html-chunker.xprocspec b/html-utils/src/test/xprocspec/html-chunker.xprocspec
new file mode 100644
index 0000000..64de687
--- /dev/null
+++ b/html-utils/src/test/xprocspec/html-chunker.xprocspec
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ foo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A
+
+
+ A
+
+
+
+
+
+
+ B
+
+
+ B
+
+
+
+
+
+
+ foo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ a
+
+
+
+
+
+
+
+ b
+
+
+
+
+
+
+
+