From 382e998daff304c841ec30f4b11220ff12c5c1e0 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Wed, 5 Apr 2006 23:54:29 +0000 Subject: [PATCH] Document use of DOCTYPE declaration. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@391856 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/xdocs/reference/xdocs.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xdoc/xdocs/reference/xdocs.xml b/xdoc/xdocs/reference/xdocs.xml index dcf5b23c..cc4e09ee 100644 --- a/xdoc/xdocs/reference/xdocs.xml +++ b/xdoc/xdocs/reference/xdocs.xml @@ -142,6 +142,16 @@ source files are valid xdoc documents. This should ensure that the generated html files are valid XHTML1-transitional. +

+

+ To support validation of your xdoc source files by an external tool, + you should include the following DOCTYPE + declaration just after the <xml> element: +

+ <!DOCTYPE xdoc PUBLIC + "-//Apache Software Foundation//DTD XDOC 1.0//EN" + "http://www.apache.org/dtds/xdoc_1_0.dtd"> +

Here is a list of common mistakes to be aware of: