-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from evolvedbinary/test/round-trip
Complete Round trip testing
- Loading branch information
Showing
4 changed files
with
2,816 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN" "lw-topic.dtd"> | ||
<topic id="fullTopic"> | ||
<title dir="ltr" translate="no" xml:lang="english"> | ||
<b>bold</b> and <em>emphasized</em> and <i>italic</i> and <ph>Phrase content</ph> and <strong>strong</strong> | ||
and <sub>subscript</sub> and <sup>superscipt</sup> and <tt>tele type</tt> and <u>underline</u> | ||
<image></image> | ||
</title> | ||
<shortdesc>Short description of the full topic.</shortdesc> | ||
<prolog props="metadata"> | ||
<metadata> | ||
<othermeta name="test" content="test"/> | ||
</metadata> | ||
</prolog> | ||
<body outputclass="outputclass"> | ||
<!-- | ||
((%list-blocks;)*, section*, div?) | ||
list-blocks = p|ul|ol|dl|pre|audio|video|example|simpletable|fig|note | ||
--> | ||
<p>Paragraph content</p> | ||
<ul> | ||
<li><p>Unordered list item</p></li> | ||
</ul> | ||
<ol> | ||
<li><p>Ordered list item</p></li> | ||
</ol> | ||
<dl> | ||
<dlentry> | ||
<dt>Definition term</dt> | ||
<dd><p>Definition description</p></dd> | ||
</dlentry> | ||
</dl> | ||
<pre>Preformatted content</pre> | ||
<audio autoplay="false" | ||
controls="true" | ||
loop="false" | ||
muted="false"> | ||
<!-- | ||
((desc)?,(fallback)?,(media-source)*,(media-track)*)* | ||
--> | ||
<desc>Theme song for the LwDITA podcast</desc> | ||
<fallback><p>The theme song is not available.</p></fallback> | ||
<media-source href="theme-song.mp3"/> | ||
<media-track srclang="en" href="theme-song.vtt"/> | ||
</audio> | ||
<video height="300px" width="400px" loop="false" | ||
muted="false"> | ||
<!-- | ||
((desc)?,(fallback)?,(video-poster)?,(media-source)*,(media-track)*)* > | ||
--> | ||
<desc>Video about the Sensei Sushi promise.</desc> | ||
<fallback> | ||
<image href="video-not-available.png"> | ||
<alt>This video cannot be displayed.</alt> | ||
</image> | ||
</fallback> | ||
<video-poster href="sensei-video.jpg"/> | ||
<media-source href="sensei-video.mp4"/> | ||
<media-source href="sensei-video.ogg"/> | ||
<media-source href="sensei-video.webm"/> | ||
<media-track srclang="en" href="sensei-video.vtt"/> | ||
</video> | ||
<example> | ||
<title>title</title> | ||
<!-- | ||
p|ul|ol|dl|pre|audio|video|simpletable|fig|note | ||
--> | ||
|
||
</example> | ||
<simpletable> | ||
<title>Table title</title> | ||
<sthead> | ||
<stentry><p>Header 1</p></stentry> | ||
<stentry><p>Header 2</p></stentry> | ||
</sthead> | ||
<strow> | ||
<stentry><p>Row 1, Cell 1</p></stentry> | ||
<stentry><p>Row 1, Cell 2</p></stentry> | ||
</strow> | ||
<strow> | ||
<stentry><p>Row 2, Cell 1</p></stentry> | ||
<stentry><p>Row 2, Cell 2</p></stentry> | ||
</strow> | ||
</simpletable> | ||
<fig> | ||
<!-- | ||
(title?, desc?, (%fig-blocks;|image|xref)*) | ||
--> | ||
<title>Figure title</title> | ||
<desc>Figure description</desc> | ||
<image href="images/image.png"><alt>alt text</alt></image> | ||
</fig> | ||
<note type="note"> | ||
<!-- | ||
<!ENTITY % simple-blocks "p|ul|ol|dl|pre|audio|video|example|note"> | ||
--> | ||
<p>Note content</p> | ||
</note> | ||
<section> | ||
<title>Section title</title> | ||
<!-- | ||
p|ul|ol|dl|pre|audio|video|example|simpletable|fig|note | ||
--> | ||
<p>Section content</p> | ||
</section> | ||
<div> | ||
<!-- | ||
p|ul|ol|dl|pre|audio|video|example|simpletable|fig|note | ||
--> | ||
<fn id="footnote"> | ||
<!-- | ||
"p|ul|ol|dl" | ||
--> | ||
</fn> | ||
</div> | ||
</body> | ||
</topic> |
Oops, something went wrong.