diff options
Diffstat (limited to 'tests/ITS-2.0-Testsuite/inputdata/translate/html')
12 files changed, 190 insertions, 190 deletions
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html index 8a51745..e31fcae 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html @@ -1,17 +1,17 @@ -<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>HTML Link Example</title>
- <link href="translate1htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
- <p id="100" title="Text">
- This is the first paragraph. It has some
- <code>un-translatable code</code>
- .
- </p>
- </body>
-</html>
-
+<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>HTML Link Example</title> + <link href="translate1htmlrules.xml" rel="its-rules"/> + </head> + <body> + <img src="smiley.gif" alt="Smiley face" width="42" height="42"/> + <p id="100" title="Text"> + This is the first paragraph. It has some + <code>un-translatable code</code> + . + </p> + </body> +</html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml index 53c5650..bd51763 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml @@ -1,4 +1,4 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
- <its:translateRule selector="//h:code" translate="no"/>
- <its:translateRule selector="//h:link" translate="no"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:translateRule selector="//h:code" translate="no"/> + <its:translateRule selector="//h:link" translate="no"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html index 469e61b..576eaea 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html @@ -1,18 +1,18 @@ -<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset=utf-8>
- <title>The Life of a Simple Man</title>
- </head>
- <body>
- <p>
- <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
- Everything started when Zebulon discovered that he had a
- <span translate="NO">doppelgänger</span>
- who was a serious baseball
- <span translate="nO">aficionado</span>
- .
- </p>
- </body>
-</html>
-
+<!DOCTYPE html> + <html lang="en"> + <head> + <meta charset=utf-8> + <title>The Life of a Simple Man</title> + </head> + <body> + <p> + <img src="smiley.gif" alt="Smiley face" width="42" height="42"/> + Everything started when Zebulon discovered that he had a + <span translate="NO">doppelgänger</span> + who was a serious baseball + <span translate="nO">aficionado</span> + . + </p> + </body> +</html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html index 43b31c4..eece21e 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html @@ -1,23 +1,23 @@ -<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="translate3htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span translate="yes">The Life of a Simple Man</span>
- <!--
- Note that the contents of <b> and <span> should end up *not* translatable with these settings
- -->
- <section title="section one">
- <p>
- Everything started when Zebulon discovered that he had a
- <span>doppelgänger</span>
- who was a serious baseball
- <span>aficionado</span>
- .
- </p>
- </section>
- </body>
- </html>
+<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <title>EXAMPLE</title> + <link href="translate3htmlrules.xml" rel="its-rules"/> + </head> + <body> + <span translate="yes">The Life of a Simple Man</span> + <!-- + Note that the contents of <b> and <span> should end up *not* translatable with these settings + --> + <section title="section one"> + <p> + Everything started when Zebulon discovered that he had a + <span>doppelgänger</span> + who was a serious baseball + <span>aficionado</span> + . + </p> + </section> + </body> + </html> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml index b90e6c1..6193ec0 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml @@ -1,4 +1,4 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> +<its:translateRule selector="//h:*" translate="no"/> +<its:translateRule selector="//h:p" translate="yes"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html index 5378561..4baa943 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html @@ -1,23 +1,23 @@ -<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="translate4htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span translate="yes">The Life of a Simple Man</span>
- <!--
- Note that the contents of <b> and <span> should end up *not* translatable with these settings
- -->
- <section>
- <p>
- Everything started when Zebulon discovered that he had a
- <span>doppelgänger</span>
- who was a serious baseball
- <span>aficionado</span>
- .
- </p>
- </section>
- </body>
- </html>
+<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <title>EXAMPLE</title> + <link href="translate4htmlrules.xml" rel="its-rules"/> + </head> + <body> + <span translate="yes">The Life of a Simple Man</span> + <!-- + Note that the contents of <b> and <span> should end up *not* translatable with these settings + --> + <section> + <p> + Everything started when Zebulon discovered that he had a + <span>doppelgänger</span> + who was a serious baseball + <span>aficionado</span> + . + </p> + </section> + </body> + </html> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml index e20cc94..c252a2d 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml @@ -1,4 +1,4 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:translateRule selector="/h:html" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> +<its:translateRule selector="/h:html" translate="no"/> +<its:translateRule selector="//h:p" translate="yes"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html index 1cf7b3c..c95d116 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html @@ -1,34 +1,34 @@ -<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>The ITS Topic</title>
- <link href="translate5htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <section>
- <span id="tDataCat">
- <b>Data category</b>
- <cite>
- ITS defines
- <i>data category</i>
- as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
- </cite>
- </span>
- </section>
- <p>
- For the implementation of ITS, apply the rules in the order:
- </p>
- <ul>
- <li>Default</li>
- <li>Rules in the schema</li>
- <li>Rules in the document instance</li>
- <li>Local attributes</li>
- </ul>
- <p>
- <span lang="fr">Et voila !</span>
- The last rule wins.
- </p>
- </body>
- </html>
-
+<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <title>The ITS Topic</title> + <link href="translate5htmlrules.xml" rel="its-rules"/> + </head> + <body> + <section> + <span id="tDataCat"> + <b>Data category</b> + <cite> + ITS defines + <i>data category</i> + as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents. + </cite> + </span> + </section> + <p> + For the implementation of ITS, apply the rules in the order: + </p> + <ul> + <li>Default</li> + <li>Rules in the schema</li> + <li>Rules in the document instance</li> + <li>Local attributes</li> + </ul> + <p> + <span lang="fr">Et voila !</span> + The last rule wins. + </p> + </body> + </html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml index b90e6c1..6193ec0 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml @@ -1,4 +1,4 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> +<its:translateRule selector="//h:*" translate="no"/> +<its:translateRule selector="//h:p" translate="yes"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html index 3912a13..a55f8d7 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html @@ -1,34 +1,34 @@ -<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>The ITS Topic</title>
- <link href="translate6htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <section>
- <span id="tDataCat">
- <b>Data category</b>
- <cite>
- ITS defines
- <i>data category</i>
- as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
- </cite>
- </span>
- </section>
- <p>
- For the implementation of ITS, apply the rules in the order:
- </p>
- <ul>
- <li>Default</li>
- <li>Rules in the schema</li>
- <li>Rules in the document instance</li>
- <li>Local attributes</li>
- </ul>
- <p>
- <span lang="fr">Et voila !</span>
- The last rule wins.
- </p>
- </body>
- </html>
-
+<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <title>The ITS Topic</title> + <link href="translate6htmlrules.xml" rel="its-rules"/> + </head> + <body> + <section> + <span id="tDataCat"> + <b>Data category</b> + <cite> + ITS defines + <i>data category</i> + as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents. + </cite> + </span> + </section> + <p> + For the implementation of ITS, apply the rules in the order: + </p> + <ul> + <li>Default</li> + <li>Rules in the schema</li> + <li>Rules in the document instance</li> + <li>Local attributes</li> + </ul> + <p> + <span lang="fr">Et voila !</span> + The last rule wins. + </p> + </body> + </html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml index e10604a..dadbad1 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml @@ -1,6 +1,6 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:param name="tDataCatParam">tDataCat</its:param>
-<its:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-<its:translateRule selector="//h:span[@id=$tDataCatParam]" translate="yes"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> +<its:param name="tDataCatParam">tDataCat</its:param> +<its:translateRule selector="//h:*" translate="no"/> +<its:translateRule selector="//h:p" translate="yes"/> +<its:translateRule selector="//h:span[@id=$tDataCatParam]" translate="yes"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html index 8473640..c17322d 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html @@ -1,19 +1,19 @@ -<!DOCTYPE html>
-<html lang=en>
- <head>
-<script type="application/its+xml">
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
- <its:param name="translateparam">name</its:param>
- <its:translateRule selector="//h:*[@id=$translateparam]" translate="no"/>
- </its:rules>
-</script>
- <meta charset="utf-8"/>
- <title>Example</title>
- </head>
- <body title="login details">
-<p style="color:green">Login names can only use letters from A to Z (upper or lowercase)
- For example: <code id="name">Huck_Finn</code>.</p>
- </body>
-</html>
-
-
+<!DOCTYPE html> +<html lang=en> + <head> +<script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="translateparam">name</its:param> + <its:translateRule selector="//h:*[@id=$translateparam]" translate="no"/> + </its:rules> +</script> + <meta charset="utf-8"/> + <title>Example</title> + </head> + <body title="login details"> +<p style="color:green">Login names can only use letters from A to Z (upper or lowercase) + For example: <code id="name">Huck_Finn</code>.</p> + </body> +</html> + + |