diff --git a/test-suite/tests/nw-add-xml-base-001.xml b/test-suite/tests/nw-add-xml-base-001.xml new file mode 100644 index 00000000..d2d53b35 --- /dev/null +++ b/test-suite/tests/nw-add-xml-base-001.xml @@ -0,0 +1,51 @@ + + + p:add-xml-base 001 (NW) + + + 2024-04-29 + + Norm Tovey-Walsh + + +

Created test for p:add-xml-base.

+
+
+
+
+ +

Test p:add-xml-base.

+
+ + + + + + + + + + + + + + + Root element is not 'book'. + Document element base URI doesn’t have the correct suffix + Preface should not have an xml:base attribute + First chapter has wrong xml:base + Second chapter has wrong xml:base + + + + +
diff --git a/test-suite/tests/nw-add-xml-base-002.xml b/test-suite/tests/nw-add-xml-base-002.xml new file mode 100644 index 00000000..03334467 --- /dev/null +++ b/test-suite/tests/nw-add-xml-base-002.xml @@ -0,0 +1,53 @@ + + + p:add-xml-base 002 (NW) + + + 2024-04-29 + + Norm Tovey-Walsh + + +

Created test for p:add-xml-base.

+
+
+
+
+ +

Test p:add-xml-base with all=true.

+
+ + + + + + + + + + + + + + + Root element is not 'book'. + Document element base URI doesn’t have the correct suffix + Preface element base URI doesn’t have the correct suffix + First chapter base URI doesn’t have the correct suffix + Second chapter base URI doesn’t have the correct suffix + + + + +
diff --git a/test-suite/tests/nw-add-xml-base-003.xml b/test-suite/tests/nw-add-xml-base-003.xml new file mode 100644 index 00000000..ff5d45c9 --- /dev/null +++ b/test-suite/tests/nw-add-xml-base-003.xml @@ -0,0 +1,53 @@ + + + p:add-xml-base 003 (NW) + + + 2024-04-29 + + Norm Tovey-Walsh + + +

Created test for p:add-xml-base.

+
+
+
+
+ +

Test p:add-xml-base with relative=false.

+
+ + + + + + + + + + + + + + + Root element is not 'book'. + Document element base URI doesn’t have the correct suffix + Preface should not have an xml:base attribute + First chapter base URI doesn’t have the correct suffix + Second chapter base URI doesn’t have the correct suffix + + + + +
diff --git a/test-suite/tests/nw-add-xml-base-004.xml b/test-suite/tests/nw-add-xml-base-004.xml new file mode 100644 index 00000000..b895a276 --- /dev/null +++ b/test-suite/tests/nw-add-xml-base-004.xml @@ -0,0 +1,32 @@ + + + p:add-xml-base 004 (NW) + + + 2024-04-29 + + Norm Tovey-Walsh + + +

Created test for p:add-xml-base.

+
+
+
+
+ +

Test p:add-xml-base with all=true and relative=true.

+
+ + + + + + + + + + +
diff --git a/test-suite/tests/nw-add-xml-base-005.xml b/test-suite/tests/nw-add-xml-base-005.xml new file mode 100644 index 00000000..5396b6d3 --- /dev/null +++ b/test-suite/tests/nw-add-xml-base-005.xml @@ -0,0 +1,57 @@ + + + p:add-xml-base 005 (NW) + + + 2024-04-29 + + Norm Tovey-Walsh + + +

Created test for p:add-xml-base.

+
+
+
+
+ +

Test p:add-xml-base where the scheme changes.

+
+ + + + + + + + + + + + + + + + + + Root element is not 'book'. + + >Document element base URI is incorrect + Preface should not have an xml:base attribute + First chapter base URI doesn’t have the correct suffix + Second chapter base URI doesn’t have the correct suffix + + + + +