| 329 |
<p><img border="0" src="index.3.jpg"></p> |
<p><img border="0" src="index.3.jpg"></p> |
| 330 |
</blockquote> |
</blockquote> |
| 331 |
<p> </p> |
<p> </p> |
|
<h3>Setup needed temporarily for M5 :</h3> |
|
|
<p>Since all XHTML intro files are loaded with an xml parser, they have to be |
|
|
well-formed |
|
|
XML files. The process of loading an XML file validates the xml files for conformance |
|
|
(even in the case of an non-validating XML parser). This mean that the DTD from |
|
|
the XHTML 1.0 specs need to be local, for the intro parser to use them. A special EntityResolver handler had |
|
|
to be written the point the DOCTYPE url to these local DTDs. </p> |
|
|
<p>However, for M5, these dtds are not available yet, and they have to be |
|
|
downloaded and unzip in a local temp folder. Here are the steps to get XHTML |
|
|
support setup for M5: </p> |
|
|
<ul> |
|
|
<li>download and unzip <b>xhtml1.zip</b> from |
|
|
<a href="http://www.w3.org/TR/xhtml1/#dtds"> |
|
|
http://www.w3.org/TR/xhtml1/#dtds</a> into any temp directory.</li> |
|
|
<li>you need to pass -<b>DdtdBaseLocation</b>=<folder where you unzipped |
|
|
above dtd file>. e.g.: -DdtdBaseLocation=D:\temp when you self host.</li> |
|
|
</ul> |
|
|
<p> </p> |
|
| 332 |
<h3>Document Conformance and file name extensions</h3> |
<h3>Document Conformance and file name extensions</h3> |
| 333 |
<ul> |
<ul> |
| 334 |
<li>All documents used as intro pages must be valid XHTML 1.0 documents. XHTML |
<li>All documents used as intro pages must be valid XHTML 1.0 documents. XHTML |
| 338 |
<a href="http://www.w3.org/TR/xhtml1/#guidelines">compatibility guidelines</a> |
<a href="http://www.w3.org/TR/xhtml1/#guidelines">compatibility guidelines</a> |
| 339 |
document in the XHTML 1.0 specs. By doing so, an XHTML 1.0 page is nothing but |
document in the XHTML 1.0 specs. By doing so, an XHTML 1.0 page is nothing but |
| 340 |
well-formed xml html. </li> |
well-formed xml html. </li> |
| 341 |
<li>For M5, all XHTML documents must be UTF-8 encoded and the |
<li>All XHTML documents must be UTF-8 encoded and the |
| 342 |
<a href="javascript:;" onclick="FP_changeProp(/*id*/'tooltip2',0,'style.display','inline')"> |
<a href="javascript:;" onclick="FP_changeProp(/*id*/'tooltip2',0,'style.display','inline')"> |
| 343 |
<span style="cursor: help; text-decoration: none">XML declaration </span> |
<span style="cursor: help; text-decoration: none">XML declaration </span> |
| 344 |
</a> |
</a> |