From Fedora Project Wiki

Description

This test case ensures that the docbook-style-xsl package is working as expected. It is designed to verify that DocBook XSL stylesheets can be used to transform DocBook documents successfully.

Setup

  1. Install the version of Fedora that is to be tested on a bare metal or virtual system.
  2. Install the docbook-style-xsl package using the command: sudo dnf install docbook-style-xsl.

How to test

  1. Create or obtain a sample DocBook XML document.
  2. Use an XSLT processor, such as xsltproc, to transform the DocBook XML document using a stylesheet from the docbook-style-xsl package. For example: xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl sample-doc.xml.

Expected Results

  1. The docbook-style-xsl package installs without error.
  2. The XSL stylesheets are correctly installed in the expected directory (e.g., /usr/share/sgml/docbook/xsl-stylesheets/).
  3. The XSLT processor successfully transforms the DocBook XML document using the XSL stylesheet, without errors, and produces the expected output (e.g., HTML, PDF, RTF, etc.).

Optional

  1. Test various versions of DocBook XSL stylesheets with different DocBook XML documents.
  2. Test invalid DocBook XML documents and ensure that the XSLT processor reports errors.
  3. Compare the output with different processors (e.g., xsltproc, saxon).