diff --git a/html-utils/src/main/resources/xml/xslt/namespace-fixup.xsl b/html-utils/src/main/resources/xml/xslt/namespace-fixup.xsl index 5ea09a9..8feac19 100755 --- a/html-utils/src/main/resources/xml/xslt/namespace-fixup.xsl +++ b/html-utils/src/main/resources/xml/xslt/namespace-fixup.xsl @@ -2,7 +2,7 @@ - + diff --git a/html-utils/src/test/resources/html/html-4.01-strict.html b/html-utils/src/test/resources/html/html-4.01-strict.html deleted file mode 100644 index f222a77..0000000 --- a/html-utils/src/test/resources/html/html-4.01-strict.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - untitled - - - -

content

- - \ No newline at end of file diff --git a/html-utils/src/test/resources/html/html5-mathml.html b/html-utils/src/test/resources/html/html5-mathml.html deleted file mode 100644 index 9f0c9cf..0000000 --- a/html-utils/src/test/resources/html/html5-mathml.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - title - - -

The quadratic formula

-

- - - description - - x - = - - - b - ± - - b 2 - - 4 a c - - - - 2 a - - - -

- - \ No newline at end of file diff --git a/html-utils/src/test/resources/html/html5-minimal.html b/html-utils/src/test/resources/html/html5-minimal.html deleted file mode 100644 index b829446..0000000 --- a/html-utils/src/test/resources/html/html5-minimal.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - title - - - - - \ No newline at end of file diff --git a/html-utils/src/test/resources/html/html5-noxml.html b/html-utils/src/test/resources/html/html5-noxml.html deleted file mode 100644 index 18d5ee5..0000000 --- a/html-utils/src/test/resources/html/html5-noxml.html +++ /dev/null @@ -1,5 +0,0 @@ - - - -blah -

I'm the content \ No newline at end of file diff --git a/html-utils/src/test/resources/html/html5-svg.html b/html-utils/src/test/resources/html/html5-svg.html deleted file mode 100644 index bc2d398..0000000 --- a/html-utils/src/test/resources/html/html5-svg.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - title - - -

SVG Example

-
- - - - - - -
- - \ No newline at end of file diff --git a/html-utils/src/test/resources/html/html5-wellformed.html b/html-utils/src/test/resources/html/html5-wellformed.html deleted file mode 100644 index 5c3b443..0000000 --- a/html-utils/src/test/resources/html/html5-wellformed.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - title - - -

content

- - \ No newline at end of file diff --git a/html-utils/src/test/resources/html/xhtml-1.0-strict.xhtml b/html-utils/src/test/resources/html/xhtml-1.0-strict.xhtml deleted file mode 100644 index 42adb05..0000000 --- a/html-utils/src/test/resources/html/xhtml-1.0-strict.xhtml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - untitled - - - -

content

- - diff --git a/html-utils/src/test/resources/html5-outliner_test.xml b/html-utils/src/test/resources/html5-outliner_test.xml deleted file mode 100755 index 01c1331..0000000 --- a/html-utils/src/test/resources/html5-outliner_test.xml +++ /dev/null @@ -1,1198 +0,0 @@ - - - - - - - - - - section heading: basic - - - - -

heading

- - -
- -
    -
  1. heading
  2. -
-
-
-
- - section heading: 'a' in heading content is translated to 'span' - - - - -

heading with a link and another link

- - -
- -
    -
  1. heading with a link and another link
  2. -
-
-
-
- - section heading: not h1 - - - - -

heading

- - -
- -
    -
  1. heading
  2. -
-
-
-
- - section heading: hgroup - - - - -
-

heading

-

other

-
- - -
- -
    -
  1. heading
  2. -
-
-
-
- - section heading: hgroup with highest rank not first child - - - - -
-

other

-

heading

-
- - -
- -
    -
  1. heading
  2. -
-
-
-
- - section heading: not first child - - - - -

paragraph

-

heading

- - -
- -
    -
  1. heading
  2. -
-
-
-
- - section heading: after subsection - - - - -
-

h11

-
-

h12

- - -
- -
    -
  1. h12 -
      -
    1. h11
    2. -
    -
  2. -
-
-
-
- - section heading: between subsections - - - - -
-

h11

-
-

h12

-
-

h13

-
- - -
- -
    -
  1. h12 -
      -
    1. h11
    2. -
    3. h13
    4. -
    -
  2. -
-
-
-
- - - - - - 'section' subsection: basic - - - - -

h11

-
-

h12

-
- - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    -
  2. -
-
-
-
- - 'section' subsection: nested - - - - -

h11

-
-

h12

-
-

h13

-
-
- - -
- -
    -
  1. h11 -
      -
    1. h12 -
        -
      1. h13
      2. -
      -
    2. -
    -
  2. -
-
-
-
- - 'section' subsection: siblings - - - - -

h11

-
-

h12

-
-
-

h13

-
- - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    3. h13
    4. -
    -
  2. -
-
-
-
- - 'article' subsection: basic - - - - -

h11

-
-

h12

-
- - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    -
  2. -
-
-
-
- - 'aside' subsection: basic - - - - -

h11

- - - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    -
  2. -
-
-
-
- - 'nav' subsection: basic - - - - -

h11

- - - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    -
  2. -
-
-
-
- - mixed subsections: basic - - - - -

h11

-
-

h12

- -
-
-

h14

- -
- - -
- -
    -
  1. h11 -
      -
    1. h12 -
        -
      1. h13
      2. -
      -
    2. -
    3. h14 -
        -
      1. h15
      2. -
      -
    4. -
    -
  2. -
-
-
-
- - - - - - lower rank heading: basic - - - - -

h1

-

h2

- - -
- -
    -
  1. h1 -
      -
    1. h2
    2. -
    -
  2. -
-
-
-
- - lower rank heading: skip rank - - - - -

h1

-

h3

- - -
- -
    -
  1. h1 -
      -
    1. h3
    2. -
    -
  2. -
-
-
-
- - lower rank heading: hgroup - - - - -

h1

-
-

h2

-

h3

-
- - -
- -
    -
  1. h1 -
      -
    1. h2
    2. -
    -
  2. -
-
-
-
- - lower rank heading: hgroup with highest rank not first child - - - - -

h1

-
-

h3

-

h2

-
- - -
- -
    -
  1. h1 -
      -
    1. h2
    2. -
    -
  2. -
-
-
-
- - lower rank heading: successively - - - - -

h1

-

h2

-

h3

-

h4

-
h5
-
h6
- - -
- -
    -
  1. h1 -
      -
    1. h2 -
        -
      1. h3 -
          -
        1. h4 -
            -
          1. h5 -
              -
            1. h6
            2. -
            -
          2. -
          -
        2. -
        -
      2. -
      -
    2. -
    -
  2. -
-
-
-
- - - lower rank heading: after subsection - - - - -

h11

-
-

h12

-
-

h2

- - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    3. h2
    4. -
    -
  2. -
-
-
-
- - - - - - same rank heading: basic - - - - -

h11

-

h12

- - -
- -
    -
  1. h11
  2. -
  3. h12
  4. -
-
-
-
- - same rank heading: within nested divs - - - - -

h11

-
-
-

h12

-
-
- - -
- -
    -
  1. h11
  2. -
  3. h12
  4. -
-
-
-
- - same rank heading: within an hgroup - - - - -

h11

-
-

h2

-

h12

-
- - -
- -
    -
  1. h11
  2. -
  3. h12
  4. -
-
-
-
- - same rank heading: within a section - - - - -

h11

-
-

h12

-

h13

-
- - -
- -
    -
  1. h11 -
      -
    1. h12
    2. -
    3. h13
    4. -
    -
  2. -
-
-
-
- - - - - higher rank heading: basic - - - - -

h2

-

h1

- - -
- -
    -
  1. h2
  2. -
  3. h1
  4. -
-
-
-
- - higher rank heading: within nested divs - - - - -

h2

-
-
-

h1

-
-
- - -
- -
    -
  1. h2
  2. -
  3. h1
  4. -
-
-
-
- - higher rank heading: within an hgroup - - - - -

h2

-
-

h3

-

h1

-
- - -
- -
    -
  1. h2
  2. -
  3. h1
  4. -
-
-
-
- - higher rank heading: within a section - - - - -

h11

-
-

h2

-

h12

-
- - -
- -
    -
  1. h11 -
      -
    1. h2
    2. -
    3. h12
    4. -
    -
  2. -
-
-
-
- - - - - - default heading: body - - - - - - - -
    -
  1. Untitled document
  2. -
-
-
-
- - default heading: section - - - - -

h1

-
- - - - -
    -
  1. h1 -
      -
    1. Untitled section
    2. -
    -
  2. -
-
- - - - default heading: article - - - - -

h1

-
- - - - -
    -
  1. h1 -
      -
    1. Article
    2. -
    -
  2. -
-
- - - - default heading: aside - - - - -

h1

-