Commit e49efe91 authored by Brad King's avatar Brad King
Browse files

Drop xmllint documentation tests

Drop these tests since we will drop docbook output along with other
documentation formatters.
parent 189008ea
......@@ -130,34 +130,3 @@ install(FILES
# Drive documentation generation.
add_custom_target(documentation ALL DEPENDS ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/cmake.txt )
# Documentation testing.
if(BUILD_TESTING)
find_package(LibXml2 QUIET)
if(NOT DEFINED LIBXML2_XMLLINT_EXECUTABLE)
find_program(LIBXML2_XMLLINT_EXECUTABLE xmllint)
endif()
mark_as_advanced(LIBXML2_XMLLINT_EXECUTABLE)
if(LIBXML2_XMLLINT_EXECUTABLE)
execute_process(COMMAND ${LIBXML2_XMLLINT_EXECUTABLE} --help
OUTPUT_VARIABLE _help ERROR_VARIABLE _err)
if("${_help}" MATCHES "--path" AND "${_help}" MATCHES "--nonet")
# We provide DTDs in the 'xml' directory so that xmllint can run without
# network access. Note that xmllints's --path option accepts a
# space-separated list of url-encoded paths.
set(_dtd_dir "${CMAKE_CURRENT_SOURCE_DIR}/xml")
string(REPLACE " " "%20" _dtd_dir "${_dtd_dir}")
string(REPLACE ":" "%3A" _dtd_dir "${_dtd_dir}")
add_test(CMake.HTML
${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet
--path ${_dtd_dir}/xhtml1
${HTML_FILES}
)
add_test(CMake.DocBook
${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet
--path ${_dtd_dir}/docbook-4.5
${DOCBOOK_FILES}
)
endif()
endif()
endif()
2006-10-03 13:23 nwalsh
* trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat,
trunk/docbook/sgml/docbook.dcl, trunk/docbook/sgml/docbook.dtd,
calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod,
dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat,
docbookx.dtd, htmltblx.mod: DocBook V4.5 released
2006-06-02 11:28 nwalsh
* calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod,
dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat,
docbookx.dtd, freshmeat.xsl, htmltblx.mod: Changed copyright
dates and version numbers
2006-05-30 20:58 nwalsh
* htmltblx.mod: Supply tag omission markers in SGML; suppress
xml:lang in SGML
2006-03-07 13:11 nwalsh
* trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat,
trunk/docbook/sgml/docbook.dcl, trunk/docbook/sgml/docbook.dtd,
calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod,
dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat,
docbookx.dtd, freshmeat.xsl, htmltblx.mod: Change version
numbers to 4.5CR2
2006-03-07 13:03 nwalsh
* dbpoolx.mod: Allow citebiblioid anywhere the other citation
elements are allowed
2006-02-16 21:12 nwalsh
* calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod,
dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat,
docbookx.dtd, freshmeat.xsl, htmltblx.mod: DocBook V4.5 released
2005-06-29 10:59 nwalsh
* trunk/docbook/sgml/docbook.dtd, docbookx.dtd: DocBook V4.5CR1
Released
2005-06-29 10:58 nwalsh
* trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat,
trunk/docbook/sgml/docbook.dcl, calstblx.dtd, catalog.xml,
dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod,
dbpoolx.mod, docbook.cat, htmltblx.mod: Updated version number
2005-06-29 10:53 nwalsh
* freshmeat.xsl: Tweaked freshmeat changes
2005-06-24 21:09 nwalsh
* calstblx.dtd, dbhierx.mod, dbpoolx.mod, htmltblx.mod,
soextblx.dtd: Added doc: structured comments
2005-05-05 11:41 nwalsh
* trunk/docbook/sgml/docbook.dtd, docbookx.dtd: DocBook V4.5b1
Released
2005-05-05 11:40 nwalsh
* trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat,
trunk/docbook/sgml/docbook.dcl, calstblx.dtd, catalog.xml,
dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod,
dbpoolx.mod, docbook.cat, htmltblx.mod: Updated version number
2005-05-05 11:37 nwalsh
* freshmeat.xsl: Prepare for 4.5b1
2005-05-05 10:59 nwalsh
* dbpoolx.mod: RFE 1055480: Make revnumber optional
2005-05-05 10:54 nwalsh
* dbpoolx.mod, htmltblx.mod: Allow common attributes on HTML table
elements
2005-05-05 10:48 nwalsh
* dbpoolx.mod: Added termdef
2005-05-05 10:39 nwalsh
* dbpoolx.mod: Added mathphrase
2005-05-05 10:33 nwalsh
* dbhierx.mod: RFE 1070458: Allow colophon in article
2005-05-05 10:32 nwalsh
* dbpoolx.mod: RFE 1070770: Allow procedure in example
2005-05-05 10:21 nwalsh
* dbpoolx.mod: Add isrn to list of biblioid class attribute values
README for the DocBook XML DTD
For more information about DocBook, please see
http://www.oasis-open.org/docbook/
Please send all questions, comments, concerns, and bug reports to the
DocBook mailing list: docbook@lists.oasis-open.org
<!-- ...................................................................... -->
<!-- DocBook CALS Table Model V4.5 ........................................ -->
<!-- File calstblx.mod .................................................... -->
<!-- Copyright 1992-2002 HaL Computer Systems, Inc.,
O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
Corporation, Norman Walsh, Sun Microsystems, Inc., and the
Organization for the Advancement of Structured Information
Standards (OASIS).
This DTD is based on the CALS Table Model
PUBLIC "-//USA-DOD//DTD Table Model 951010//EN"
$Id: calstblx.dtd 6340 2006-10-03 13:23:24Z nwalsh $
Permission to use, copy, modify and distribute the DocBook DTD
and its accompanying documentation for any purpose and without fee
is hereby granted in perpetuity, provided that the above copyright
notice and this paragraph appear in all copies. The copyright
holders make no representation about the suitability of the DTD for
any purpose. It is provided "as is" without expressed or implied
warranty.
If you modify the DocBook DTD in any way, except for declaring and
referencing additional sets of general entities and declaring
additional notations, label your DTD as a variant of DocBook. See
the maintenance documentation for more information.
Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/docbook/.
-->
<!-- ...................................................................... -->
<!-- This module contains the definitions for the CALS Table Model
converted to XML. It has been modified slightly for use in the
combined HTML/CALS models supported by DocBook V4.5.
-->
<!-- These definitions are not directly related to the table model, but are
used in the default CALS table model and are usually defined elsewhere
(and prior to the inclusion of this table module) in a CALS DTD. -->
<!ENTITY % bodyatt "">
<!ENTITY % secur "">
<!-- no if zero(s),
yes if any other digits value -->
<!ENTITY % yesorno 'CDATA'>
<!ENTITY % titles 'title?'>
<!-- default for use in entry content -->
<!ENTITY % paracon '#PCDATA'>
<!--
The parameter entities as defined below provide the CALS table model
as published (as part of the Example DTD) in MIL-HDBK-28001.
These following declarations provide the CALS-compliant default definitions
for these entities. However, these entities can and should be redefined
(by giving the appropriate parameter entity declaration(s) prior to the
reference to this Table Model declaration set entity) to fit the needs
of the current application.
-->
<!ENTITY % tbl.table.name "(table|chart)">
<!ENTITY % tbl.table-titles.mdl "%titles;,">
<!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)">
<!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;">
<!ENTITY % tbl.table.att '
tabstyle CDATA #IMPLIED
tocentry %yesorno; #IMPLIED
shortentry %yesorno; #IMPLIED
orient (port|land) #IMPLIED
pgwide %yesorno; #IMPLIED '>
<!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody">
<!ENTITY % tbl.tgroup.att '
tgroupstyle CDATA #IMPLIED '>
<!ENTITY % tbl.hdft.mdl "colspec*,row+">
<!ENTITY % tbl.row.mdl "(entry|entrytbl)+">
<!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody">
<!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*">
<!ENTITY % tbl.frame.attval "top|bottom|topbot|all|sides|none">
<!ENTITY % tbl.tbody.mdl "row+">
<!-- ===== Element and attribute declarations follow. ===== -->
<!--doc:A formal table in a document.-->
<!ELEMENT table %ho; (%tbl.table.mdl;)>
<!ATTLIST table
frame (%tbl.frame.attval;) #IMPLIED
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
%tbl.table.att;
%bodyatt;
%secur;
>
<!--doc:A wrapper for the main content of a table, or part of a table.-->
<!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) >
<!ATTLIST tgroup
cols CDATA #REQUIRED
%tbl.tgroup.att;
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
align (left|right|center|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff CDATA #IMPLIED
%secur;
>
<!--doc:Specifications for a column in a table.-->
<!ELEMENT colspec %ho; EMPTY >
<!ATTLIST colspec
colnum CDATA #IMPLIED
colname CDATA #IMPLIED
colwidth CDATA #IMPLIED
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
align (left|right|center|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff CDATA #IMPLIED
>
<!--doc:Formatting information for a spanned column in a table.-->
<!ELEMENT spanspec %ho; EMPTY >
<!ATTLIST spanspec
namest CDATA #REQUIRED
nameend CDATA #REQUIRED
spanname CDATA #REQUIRED
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
align (left|right|center|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff CDATA #IMPLIED
>
<!--doc:A table header consisting of one or more rows.-->
<!ELEMENT thead %ho; (%tbl.hdft.mdl;)>
<!ATTLIST thead
valign (top|middle|bottom) #IMPLIED
%secur;
>
<!--doc:A table footer consisting of one or more rows.-->
<!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)>
<!ATTLIST tfoot
valign (top|middle|bottom) #IMPLIED
%secur;
>
<!--doc:A wrapper for the rows of a table or informal table.-->
<!ELEMENT tbody %ho; (%tbl.tbody.mdl;)>
<!ATTLIST tbody
valign (top|middle|bottom) #IMPLIED
%secur;
>
<!--doc:A row in a table.-->
<!ELEMENT row %ho; (%tbl.row.mdl;)>
<!ATTLIST row
rowsep %yesorno; #IMPLIED
valign (top|middle|bottom) #IMPLIED
%secur;
>
<!--doc:A subtable appearing in place of an Entry in a table.-->
<!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)>
<!ATTLIST entrytbl
cols CDATA #REQUIRED
%tbl.tgroup.att;
colname CDATA #IMPLIED
spanname CDATA #IMPLIED
namest CDATA #IMPLIED
nameend CDATA #IMPLIED
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
align (left|right|center|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff CDATA #IMPLIED
%secur;
>
<!--doc:A cell in a table.-->
<!ELEMENT entry %ho; (%tbl.entry.mdl;)*>
<!ATTLIST entry
colname CDATA #IMPLIED
namest CDATA #IMPLIED
nameend CDATA #IMPLIED
spanname CDATA #IMPLIED
morerows CDATA #IMPLIED
colsep %yesorno; #IMPLIED
rowsep %yesorno; #IMPLIED
align (left|right|center|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff CDATA #IMPLIED
rotate %yesorno; #IMPLIED
valign (top|middle|bottom) #IMPLIED
%secur;
>
<!-- End of DocBook CALS Table Model V4.5 ................................. -->
<!-- ...................................................................... -->
<?xml version='1.0'?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<!-- ...................................................................... -->
<!-- XML Catalog data for DocBook XML V4.5 ................................ -->
<!-- File catalog.xml ..................................................... -->
<!-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
-->
<!-- This is the catalog data file for DocBook V4.5. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See XML Catalogs at http://www.oasis-open.org/committees/entity/ for
detailed information on supplying and using catalog data.
-->
<!-- ...................................................................... -->
<!-- DocBook driver file .................................................. -->
<public publicId="-//OASIS//DTD DocBook XML V4.5//EN"
uri="docbookx.dtd"/>
<system systemId="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
uri="docbookx.dtd"/>
<system systemId="http://docbook.org/xml/4.5/docbookx.dtd"
uri="docbookx.dtd"/>
<!-- ...................................................................... -->
<!-- DocBook modules ...................................................... -->
<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.5//EN"
uri="calstblx.dtd"/>
<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN"
uri="htmltblx.mod"/>
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
uri="soextblx.dtd"/>
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN"
uri="dbpoolx.mod"/>
<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN"
uri="dbhierx.mod"/>
<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN"
uri="dbgenent.mod"/>
<public publicId="-//OASIS//ENTITIES DocBook Notations V4.5//EN"
uri="dbnotnx.mod"/>
<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
uri="dbcentx.mod"/>
<!-- ...................................................................... -->
<!-- ISO entity sets ...................................................... -->
<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
uri="ent/isodia.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
uri="ent/isonum.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML"
uri="ent/isopub.ent"/>
<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML"
uri="ent/isotech.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
uri="ent/isolat1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
uri="ent/isolat2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
uri="ent/isogrk1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
uri="ent/isogrk2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
uri="ent/isogrk3.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
uri="ent/isogrk4.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
uri="ent/isoamsa.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
uri="ent/isoamsb.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
uri="ent/isoamsc.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
uri="ent/isoamsn.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
uri="ent/isoamso.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
uri="ent/isoamsr.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
uri="ent/isobox.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
uri="ent/isocyr1.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
uri="ent/isocyr2.ent"/>
<!-- End of catalog data for DocBook XML V4.5 ............................. -->
<!-- ...................................................................... -->
</catalog>
<!-- ...................................................................... -->
<!-- DocBook character entities module V4.5 ............................... -->
<!-- File dbcentx.mod ..................................................... -->
<!-- Copyright 1992-2004 HaL Computer Systems, Inc.,
O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
Corporation, Norman Walsh, Sun Microsystems, Inc., and the
Organization for the Advancement of Structured Information
Standards (OASIS).
$Id: dbcentx.mod 6340 2006-10-03 13:23:24Z nwalsh $
Permission to use, copy, modify and distribute the DocBook DTD
and its accompanying documentation for any purpose and without fee
is hereby granted in perpetuity, provided that the above copyright
notice and this paragraph appear in all copies. The copyright
holders make no representation about the suitability of the DTD for
any purpose. It is provided "as is" without expressed or implied
warranty.
If you modify the DocBook DTD in any way, except for declaring and
referencing additional sets of general entities and declaring
additional notations, label your DTD as a variant of DocBook. See
the maintenance documentation for more information.
Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/docbook/.
-->
<!-- ...................................................................... -->
<!-- This module contains the entity declarations for the standard ISO
entity sets used by DocBook.
In DTD driver files referring to this module, please use an entity
declaration that uses the public identifier shown below:
<!ENTITY % dbcent PUBLIC
"-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
"dbcentx.mod">
%dbcent;
See the documentation for detailed information on the parameter
entity and module scheme used in DocBook, customizing DocBook and
planning for interchange, and changes made since the last release
of DocBook.
-->
<!-- ...................................................................... -->
<![%sgml.features;[
<!ENTITY % ISOamsa.module "INCLUDE">
<![ %ISOamsa.module; [
<!ENTITY % ISOamsa PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN">
<!--end of ISOamsa.module-->]]>
<!ENTITY % ISOamsb.module "INCLUDE">
<![ %ISOamsb.module; [
<!ENTITY % ISOamsb PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN">
<!--end of ISOamsb.module-->]]>
<!ENTITY % ISOamsc.module "INCLUDE">
<![ %ISOamsc.module; [
<!ENTITY % ISOamsc PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN">
<!--end of ISOamsc.module-->]]>
<!ENTITY % ISOamsn.module "INCLUDE">
<![ %ISOamsn.module; [
<!ENTITY % ISOamsn PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN">
<!--end of ISOamsn.module-->]]>
<!ENTITY % ISOamso.module "INCLUDE">
<![ %ISOamso.module; [
<!ENTITY % ISOamso PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN">
<!--end of ISOamso.module-->]]>
<!ENTITY % ISOamsr.module "INCLUDE">
<![ %ISOamsr.module; [
<!ENTITY % ISOamsr PUBLIC
"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN">
<!--end of ISOamsr.module-->]]>
<!ENTITY % ISObox.module "INCLUDE">
<![ %ISObox.module; [
<!ENTITY % ISObox PUBLIC
"ISO 8879:1986//ENTITIES Box and Line Drawing//EN">
<!--end of ISObox.module-->]]>
<!ENTITY % ISOcyr1.module "INCLUDE">
<![ %ISOcyr1.module; [
<!ENTITY % ISOcyr1 PUBLIC
"ISO 8879:1986//ENTITIES Russian Cyrillic//EN">
<!--end of ISOcyr1.module-->]]>
<!ENTITY % ISOcyr2.module "INCLUDE">
<![ %ISOcyr2.module; [
<!ENTITY % ISOcyr2 PUBLIC
"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN">
<!--end of ISOcyr2.module-->]]>
<!ENTITY % ISOdia.module "INCLUDE">
<![ %ISOdia.module; [
<!ENTITY % ISOdia PUBLIC
"ISO 8879:1986//ENTITIES Diacritical Marks//EN">
<!--end of ISOdia.module-->]]>
<!ENTITY % ISOgrk1.module "INCLUDE">
<![ %ISOgrk1.module; [
<!ENTITY % ISOgrk1 PUBLIC
"ISO 8879:1986//ENTITIES Greek Letters//EN">
<!--end of ISOgrk1.module-->]]>
<!ENTITY % ISOgrk2.module "INCLUDE">
<![ %ISOgrk2.module; [
<!ENTITY % ISOgrk2 PUBLIC
"ISO 8879:1986//ENTITIES Monotoniko Greek//EN">
<!--end of ISOgrk2.module-->]]>