Basic Content DOCX Test Files
Before testing complex layouts, your parsers must perfectly handle the foundational elements of a Word document. These files isolate core OpenXML tags found in the word/document.xml and word/numbering.xml files.
Use these assets to verify that your extraction tools correctly identify heading hierarchies (<w:pPr><w:pStyle w:val="Heading1"/>) and maintain the sequential order of bulleted and numbered lists during HTML or Markdown conversion.
Blank
A completely blank document. Excellent for testing if your parser crashes when no text nodes are present.
Lists
A dedicated file containing both unordered (bulleted) and ordered (numbered) lists to test `numbering.xml` relationships.
Headings paragraphs
Contains a clear hierarchy of Heading 1, Heading 2, and Heading 3 tags mixed with standard paragraphs.
Short text
A basic document containing a single paragraph of plain text.
Long text
A dense document with multiple paragraphs of Lorem Ipsum, useful for string buffering tests.
Mixed
A combination file integrating headings, lists, and standard paragraphs into a single realistic structure.
Frequently Asked Questions
Use Cases
- Validating DOCX-to-HTML conversion algorithms preserve semantic heading tags (H1, H2, H3).
- Testing text extraction tools to ensure list numbers aren't lost (a common issue since DOCX lists are defined relationally).
- Establishing a baseline unit test suite for new document processing libraries.