Author: crossley
Date: Fri Apr 6 00:32:42 2007
New Revision: 526084
URL: http://svn.apache.org/viewvc?view=rev&rev=526084
Log:
Add stuff to the test doc.
Modified:
forrest/trunk/etc/test-whitespace/test-1.xml
Modified: forrest/trunk/etc/test-whitespace/test-1.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/etc/test-whitespace/test-1.xml?view=diff&rev=526084&r1=526083&r2=526084
==============================================================================
--- forrest/trunk/etc/test-whitespace/test-1.xml (original)
+++ forrest/trunk/etc/test-whitespace/test-1.xml Fri Apr 6 00:32:42 2007
@@ -23,7 +23,7 @@
<body>
<section id="para-1">
<title>Paragraphs</title>
- <p>The following paragraph was formatted into separate lines, with each
line less than 80
+ <p>The following paragraph was already formatted into separate lines,
with each line less than 80
characters.</p>
<p>Apache Forrest is a publishing framework that transforms
input from various sources into a unified presentation
@@ -37,13 +37,18 @@
</section>
<section id="para-2">
- <title>Another section</title>
+ <title>Another section
+ </title>
<p>
Forrest is ...
</p>
+ <p> Forrest is ... </p>
+ <p>
+ Forrest is ...
+ </p>
<ul>
<li><strong>this</strong> and that</li>
- <li>these and <strong>those</strong></li>
+ <li>these and <em>those</em></li>
</ul>
</section>
@@ -51,24 +56,39 @@
<title>CDATA</title>
<source><![CDATA[top line text
<elements>
- <idented>
+ <indented>
A long line that should not get wrapped. A long line that should not get
wrapped. A long line that should not get wrapped.
- </idented>
+ </indented>
</elements>]]>
</source>
</section>
<section id="white">
<title>Whitespace and Tabs</title>
+
<p>Trailing whitespace after this closing tag:</p>
<p>Indentation was using tabs:
here
- and here.</p>
+ and here in element content.</p>
<ul>
- <li>item one</li>
+ <li>and before this "li" element and closing ul</li>
</ul>
</section>
+ <section id="comments">
+ <title>XML Comments</title>
+ <p>How does it handle comments</p>
+<!-- a comment, already left-aligned -->
+ <!-- another comment indented and
+ nicely
+ spaced -->
+
+ <!--+
+ | another style of carefully formatted
+ | comments.
+ -->
+ </section>
+
<section id="entities">
<title>Entities</title>
<p>What happens to entities?</p>
@@ -92,6 +112,10 @@
<p><a
href="http://forrest.apache.org/docs_0_80/howto/howto-custom-html-source.html"
title="How to customize processing of html source"
id="custom-html-source">link</a>.</p>
+ <p>Elements with attributes. Do they get re-aligned?</p>
+ <p>
+ <a href="http://forrest.apache.org/" title="Apache Forrest"
id="forrest-home2">link</a>.
+ </p>
</section>
</body>
</document>