<html>
<head>
<title>Standalone Document Declaration</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">Standalone Document Declaration</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">&nbsp;
</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">Text from specification</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>The standalone document declaration must have
the value <span class="LITERAL">no</span> if any external markup declarations
contain declarations of: attributes with default values, if elements
to which these attributes apply appear in the document without
specifications of values for these attributes, or entities (other
than <span class="LITERAL">amp</span>, <span class="LITERAL">lt</span>,
<span class="LITERAL">gt</span>, <span class="LITERAL">apos</span>,
<span class="LITERAL">quot</span>), if references to those entities appear in
the document, or attributes with values subject to normalization,
where the attribute appears in the document with a value which will
change as a result of normalization, or element types with element
content, if whitespace occurs directly within any instance of those
types.</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">Explanation</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>This laundry list of potential standalone flag violations can be read
to mean, "If you have an external subset in your
DTD, ensure that your document doesn't depend on
anything in it if you say <span class="LITERAL">standalone='yes</span>' in your
XML declaration." A more succinct interpretation
would be, "If your document has an external DTD
subset, just set <span class="LITERAL">standalone</span> to
<span class="LITERAL">no</span>."</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>