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
This commit is contained in:
ltheussl
2006-04-05 23:54:29 +00:00
parent f04afad572
commit 382e998daf

View File

@@ -142,6 +142,16 @@
source files are valid xdoc documents. This should ensure that the
generated html files are valid
<a href="http://www.w3.org/TR/xhtml1/">XHTML1-transitional</a>.
</p>
<p>
To support validation of your xdoc source files by an external tool,
you should include the following <code>DOCTYPE</code>
declaration just after the <code>&lt;xml&gt;</code> element:
</p>
<source>&lt;!DOCTYPE xdoc PUBLIC
"-//Apache Software Foundation//DTD XDOC 1.0//EN"
"http://www.apache.org/dtds/xdoc_1_0.dtd"&gt;</source>
<p>
Here is a list of common mistakes to be aware of:
</p>