diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-10-26 13:19:26 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-10-26 13:19:26 -0400 |
commit | bb185efafced05984c99656afca5adabccb45f90 (patch) | |
tree | 39c8846616e8693c678e14dc90abb36c88ecda4a | |
parent | dd06cccc33e029be8154500b9ada406ca9c0008c (diff) | |
download | itstool-bb185efafced05984c99656afca5adabccb45f90.tar.gz |
[tests] Add W3C ITS test files
-rw-r--r-- | tests/EX-locNote-element-1.xml | 14 | ||||
-rw-r--r-- | tests/EX-locNote-selector-2.xml | 10 | ||||
-rw-r--r-- | tests/EX-locNotePointer-attribute-1.xml | 19 | ||||
-rw-r--r-- | tests/EX-locNoteRef-attribute-1.xml | 12 | ||||
-rw-r--r-- | tests/EX-locNoteRefPointer-attribute-1.xml | 16 | ||||
-rw-r--r-- | tests/LocNote1.xml | 21 | ||||
-rw-r--r-- | tests/LocNote2.xml | 15 | ||||
-rw-r--r-- | tests/LocNote2_LinkedRules.xml | 9 | ||||
-rw-r--r-- | tests/LocNote3.xml | 17 | ||||
-rw-r--r-- | tests/LocNote4.xml | 8 | ||||
-rw-r--r-- | tests/Translate1.xml | 39 | ||||
-rw-r--r-- | tests/Translate2.xml | 10 | ||||
-rw-r--r-- | tests/Translate2_LinkedRules.xml | 5 | ||||
-rw-r--r-- | tests/Translate3.xml | 13 | ||||
-rw-r--r-- | tests/Translate4.xml | 10 | ||||
-rw-r--r-- | tests/Translate5.xml | 19 | ||||
-rw-r--r-- | tests/Translate6.xml | 19 | ||||
-rw-r--r-- | tests/Translate7.xml | 28 | ||||
-rw-r--r-- | tests/TranslateGlobal.xml | 13 | ||||
-rw-r--r-- | tests/TranslateGlobal_LinkedRules.xml | 6 | ||||
-rw-r--r-- | tests/WithinText1.xml | 12 | ||||
-rw-r--r-- | tests/WithinText2.xml | 25 | ||||
-rw-r--r-- | tests/WithinText2_LinkedRules.xml | 6 |
23 files changed, 346 insertions, 0 deletions
diff --git a/tests/EX-locNote-element-1.xml b/tests/EX-locNote-element-1.xml new file mode 100644 index 0000000..ee04041 --- /dev/null +++ b/tests/EX-locNote-element-1.xml @@ -0,0 +1,14 @@ +<myRes> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" + version="1.0" its:translate="no"> + <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']"> + <its:locNote>The variable {0} has three possible values: 'printer', + 'stacker' and 'stapler options'.</its:locNote> + </its:locNoteRule> + </its:rules> + </head> + <body> + <msg id="DisableInfo">The {0} has been disabled.</msg> + </body> +</myRes><!-- timestamp $Id: EX-locNote-element-1.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/EX-locNote-selector-2.xml b/tests/EX-locNote-selector-2.xml new file mode 100644 index 0000000..4b38f6a --- /dev/null +++ b/tests/EX-locNote-selector-2.xml @@ -0,0 +1,10 @@ +<msgList xmlns:its="http://www.w3.org/2005/11/its" + xml:space="preserve" its:version="1.0"> + <data name="LISTFILTERS_VARIANT" + its:locNote="Keep the leading space!" its:locNoteType="alert"> + <value> Variant {0} = {1} ({2})</value> + </data> + <data its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"> + <value>Translated from English content dated <span id="version-info">%1\$s</span> GMT.</value> + </data> +</msgList><!-- timestamp $Id: EX-locNote-selector-2.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/EX-locNotePointer-attribute-1.xml b/tests/EX-locNotePointer-attribute-1.xml new file mode 100644 index 0000000..c897140 --- /dev/null +++ b/tests/EX-locNotePointer-attribute-1.xml @@ -0,0 +1,19 @@ +<Res> + <prolog> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//msg/notes" translate="no"/> + <its:locNoteRule locNoteType="description" selector="//msg/data" + locNotePointer="../notes"/> + </its:rules> + </prolog> + <body> + <msg id="FileNotFound"> + <notes>Indicates that the resource file {0} could not be loaded.</notes> + <data>Cannot find the file {0}.</data> + </msg> + <msg id="DivByZero"> + <notes>A division by 0 was going to be computed.</notes> + <data>Invalid parameter.</data> + </msg> + </body> +</Res><!-- timestamp $Id: EX-locNotePointer-attribute-1.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/EX-locNoteRef-attribute-1.xml b/tests/EX-locNoteRef-attribute-1.xml new file mode 100644 index 0000000..2a645a4 --- /dev/null +++ b/tests/EX-locNoteRef-attribute-1.xml @@ -0,0 +1,12 @@ +<myRes> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:locNoteRule locNoteType="description" + selector="//msg[@id='NotFound']" + locNoteRef="ErrorsInfo.html/#NotFound" /> + </its:rules> + </head> + <body> + <msg id="NotFound">Cannot find {0} on {1}.</msg> + </body> +</myRes><!-- timestamp $Id: EX-locNoteRef-attribute-1.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/EX-locNoteRefPointer-attribute-1.xml b/tests/EX-locNoteRefPointer-attribute-1.xml new file mode 100644 index 0000000..8039812 --- /dev/null +++ b/tests/EX-locNoteRefPointer-attribute-1.xml @@ -0,0 +1,16 @@ +<dataFile> + <prolog> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:locNoteRule locNoteType="description" selector="//body/string/data" + locNoteRefPointer="../@noteFile" /> + </its:rules> + </prolog> + <body> + <string id="FileNotFound" noteFile="Comments.html#FileNotFound"> + <data>Cannot find the file {0}.</data> + </string> + <string id="DivByZero" noteFile="Comments.html#DivByZero"> + <data>Invalid parameter.</data> + </string> + </body> +</dataFile> diff --git a/tests/LocNote1.xml b/tests/LocNote1.xml new file mode 100644 index 0000000..80ac98d --- /dev/null +++ b/tests/LocNote1.xml @@ -0,0 +1,21 @@ +<msgList> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:locNoteRule selector="//@alt" locNoteType="description"> + <its:locNote>This text will be displayed over the image.</its:locNote> + </its:locNoteRule> + <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert"> + <its:locNote>Do not translate the word "Chobe"</its:locNote> + </its:locNoteRule> + <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']"> + <its:locNote>The variable <code>{0}</code> has three possible values: 'printer', + 'stacker' and 'stapler options'.</its:locNote> + </its:locNoteRule> + </its:rules> + </head> + <body> + <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg> + <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg> + <msg id="DisableInfo">The {0} has been disabled.</msg> + </body> +</msgList><!-- timestamp $Id: LocNote1.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/LocNote2.xml b/tests/LocNote2.xml new file mode 100644 index 0000000..ba59ce3 --- /dev/null +++ b/tests/LocNote2.xml @@ -0,0 +1,15 @@ +<msgList> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="LocNote2_LinkedRules.xml"> + <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert"> + <its:locNote>Do not translate the word "Chobe"</its:locNote> + </its:locNoteRule> + </its:rules> + </head> + <body> + <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg> + <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg> + <msg id="DisableInfo">The {0} has been disabled.</msg> + </body> +</msgList><!-- timestamp $Id: LocNote2.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/LocNote2_LinkedRules.xml b/tests/LocNote2_LinkedRules.xml new file mode 100644 index 0000000..51ecaaa --- /dev/null +++ b/tests/LocNote2_LinkedRules.xml @@ -0,0 +1,9 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:locNoteRule selector="//@alt" locNoteType="description"> + <its:locNote>This text will be displayed over the image.</its:locNote> + </its:locNoteRule> + <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']"> + <its:locNote>The variable <code>{0}</code> has three possible values: 'printer', + 'stacker' and 'stapler options'.</its:locNote> + </its:locNoteRule> +</its:rules><!-- timestamp $Id: LocNote2_LinkedRules.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/LocNote3.xml b/tests/LocNote3.xml new file mode 100644 index 0000000..1deab5c --- /dev/null +++ b/tests/LocNote3.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<Res xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> + <body its:locNote="The variable {0} is the name of the host."> + <msg id="HostNotFound"> + <data>Host {0} cannot be found.</data> + </msg> + <msg id="HostDisconnected"> + <data>The connection with {0} has been lost.</data> + </msg> + <msg id="FileNotFound"> + <data its:locNote="{0} is a filename" its:locNoteType="alert">{0} not found.</data> + </msg> + <msg id="CannotLog"> + <data its:locNoteRef="myLocNotes.htm#CannotLog" its:locNoteType="alert">Cannot log with this username.</data> + </msg> + </body> +</Res><!-- timestamp $Id: LocNote3.xml,v 1.2 2006/12/19 06:24:35 fsasaki Exp $ --> diff --git a/tests/LocNote4.xml b/tests/LocNote4.xml new file mode 100644 index 0000000..2a0d252 --- /dev/null +++ b/tests/LocNote4.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<Doc xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> + <body> + <p><its:span locNote="If possible keep the non-English terms in the translated version too">Everything started when + Zebulon discovered that he had a <its:span locNoteRef="http://en.wikipedia.org/wiki/Doppelganger">doppelgänger</its:span> + who was a <b>serious</b> baseball <its:span locNoteRef="http://en.wikipedia.org/wiki/Aficionado">aficionado</its:span>.</its:span></p> + </body> +</Doc><!-- timestamp $Id: LocNote4.xml,v 1.3 2007/02/12 23:36:26 fsasaki Exp $ --> diff --git a/tests/Translate1.xml b/tests/Translate1.xml new file mode 100644 index 0000000..e10aa88 --- /dev/null +++ b/tests/Translate1.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<myMetaDoc + xmlns:cml="myChineseMakupLanguage"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//img/@alt" translate="yes"/> + <its:translateRule selector="//*/@title" translate="yes"/> + <its:translateRule selector="//verbatim" translate="no"/> + <its:translateRule selector="//verbatim/@*" translate="no"/> + <its:translateRule selector="//verbatim//*/@*" translate="no"/> + <its:withinTextRule selector="//img|//verbatim" withinText="yes"/> + </its:rules> + </head> + <body> + <par>Text with an image: <img alt="Image description" src="img.png"/>.</par> + <par id="100" title="Text">This is the first paragraph. It has some <verbatim>un-translatable + code with an image: <img src="test.png" alt="Image description"/></verbatim>.</par> + <insert xmlns:z="myChineseMakupLanguage" xmlns:i="http://www.w3.org/2005/11/its"> + <z:书籍> + <z:封面> + <z:汇集>The Lord of the Rings</z:汇集> + <z:标题>The Return of the King</z:标题> + <z:作者>J.R.R. Tolkein</z:作者> + </z:封面> + <z:章节 数="1"> + <z:头注>Minas Tirith</z:头注> + <z:段落识别 id="A34B"><z:姓名>Pippin</z:姓名> looked out from the shelter of <z:姓名>Gandalf</z:姓名>'s cloak.</z:段落识别> + </z:章节> + <z:躯> + <i:rules version="1.0" xmlns:cml="myChineseMakupLanguage"> + <i:translateRule selector="//cml:作者" translate="no"/> + <i:translateRule selector="//cml:姓名" translate="no"/> + <i:withinTextRule selector="//cml:姓名" withinText="yes"/> + </i:rules> + </z:躯> + </z:书籍> + </insert> + </body> +</myMetaDoc><!-- timestamp $Id: Translate1.xml,v 1.8 2007/02/02 17:36:15 ysavoure Exp $ --> diff --git a/tests/Translate2.xml b/tests/Translate2.xml new file mode 100644 index 0000000..2108aa2 --- /dev/null +++ b/tests/Translate2.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<myDoc> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="Translate2_LinkedRules.xml"/> + </head> + <body> + <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par> + </body> +</myDoc><!-- timestamp $Id: Translate2.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/Translate2_LinkedRules.xml b/tests/Translate2_LinkedRules.xml new file mode 100644 index 0000000..d32f4f3 --- /dev/null +++ b/tests/Translate2_LinkedRules.xml @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//code" translate="no"/> + <its:translateRule selector="//*/@title" translate="yes"/> +</its:rules><!-- timestamp $Id: Translate2_LinkedRules.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/Translate3.xml b/tests/Translate3.xml new file mode 100644 index 0000000..e25758c --- /dev/null +++ b/tests/Translate3.xml @@ -0,0 +1,13 @@ +<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd" + xmlns:its="http://www.w3.org/2005/11/its" + its:version="1.0"> + <head> + <title>The Life of a Simple Man</title> + </head> + <body> + <p>Everything started when Zebulon discovered that he had + a <its:span translate="no">doppelgänger</its:span> who was a + serious baseball <its:span translate="no">aficionado</its:span>.</p> + </body> +</book><!-- timestamp $Id: Translate3.xml,v 1.2 2006/12/19 06:24:35 fsasaki Exp $ --> diff --git a/tests/Translate4.xml b/tests/Translate4.xml new file mode 100644 index 0000000..e353d09 --- /dev/null +++ b/tests/Translate4.xml @@ -0,0 +1,10 @@ +<book xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> + <head> + <title>The Life of a Simple Man</title> + </head> + <body> + <p>Everything started when Zebulon discovered that he had + a <fexp its:translate="no">doppelgänger</fexp> who was a + serious baseball <fexp its:translate="no">aficionado</fexp>.</p> + </body> +</book><!-- timestamp $Id: Translate4.xml,v 1.4 2007/02/02 19:29:30 ysavoure Exp $ --> diff --git a/tests/Translate5.xml b/tests/Translate5.xml new file mode 100644 index 0000000..a275360 --- /dev/null +++ b/tests/Translate5.xml @@ -0,0 +1,19 @@ +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> + <head> + <its:rules version="1.0"> + <its:translateRule selector="//*" translate="no"/> + <its:translateRule selector="//p" translate="yes"/> + </its:rules> + </head> + <info> + <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item> + <!-- Note that the contents of <b> and <span> should end up + *not* translatable with these settings --> + <item type="date-main">Dec-05-2006</item> + </info> + <content> + <p>Everything started when Zebulon discovered that he had + a <span>doppelgänger</span> who was a + serious baseball <span>aficionado</span>.</p> + </content> +</doc><!-- timestamp $Id: Translate5.xml,v 1.4 2007/02/02 17:14:37 srahtz3 Exp $ --> diff --git a/tests/Translate6.xml b/tests/Translate6.xml new file mode 100644 index 0000000..6374f32 --- /dev/null +++ b/tests/Translate6.xml @@ -0,0 +1,19 @@ +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> + <head> + <its:rules version="1.0"> + <its:translateRule selector="/doc" translate="no"/> + <its:translateRule selector="//p" translate="yes"/> + </its:rules> + </head> + <info> + <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item> + <!-- Note that the contents of <b> and <span> should end up + translatable with these settings --> + <item type="date-main">Dec-05-2006</item> + </info> + <content> + <p>Everything started when Zebulon discovered that he had + a <span>doppelgänger</span> who was a + serious baseball <span>aficionado</span>.</p> + </content> +</doc><!-- timestamp $Id: Translate6.xml,v 1.5 2007/02/02 17:59:34 srahtz3 Exp $ --> diff --git a/tests/Translate7.xml b/tests/Translate7.xml new file mode 100644 index 0000000..dc75458 --- /dev/null +++ b/tests/Translate7.xml @@ -0,0 +1,28 @@ +<topic id="myTopic"> + <title>The ITS Topic</title> + <prolog> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//*" translate="no"/> + <its:translateRule selector="//p" translate="yes"/> + <!-- With these rules only the text "For the implementation of ITS, apply the rules in the order:" + and " The last rule wins." should end up translatable --> + </its:rules> + </prolog> + <body> + <dl> + <dlentry id="tDataCat"> + <dt>Data category</dt> + <dd>ITS defines <term>data category</term> as an abstract concept for a particular + type of information for internationalization and localization of XML schemas and documents.</dd> + </dlentry> + </dl> + <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><ph xml:lang="fr">Et voilà !</ph> The last rule wins.</p> + </body> +</topic> diff --git a/tests/TranslateGlobal.xml b/tests/TranslateGlobal.xml new file mode 100644 index 0000000..3dc8dd5 --- /dev/null +++ b/tests/TranslateGlobal.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<myDoc> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="TranslateGlobal_LinkedRules.xml"> + <its:translateRule selector="//par[@id='101']/@title" translate="no"/> + </its:rules> + </head> + <body> + <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par> + <par id="101" title="Not extractable text">Some additional text.</par> + </body> +</myDoc><!-- timestamp $Id: TranslateGlobal.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/TranslateGlobal_LinkedRules.xml b/tests/TranslateGlobal_LinkedRules.xml new file mode 100644 index 0000000..9a570d1 --- /dev/null +++ b/tests/TranslateGlobal_LinkedRules.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//head" translate="no"/> + <its:translateRule selector="//code" translate="no"/> + <its:translateRule selector="//*/@title" translate="yes"/> +</its:rules><!-- timestamp $Id: TranslateGlobal_LinkedRules.xml,v 1.4 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/WithinText1.xml b/tests/WithinText1.xml new file mode 100644 index 0000000..4063c0d --- /dev/null +++ b/tests/WithinText1.xml @@ -0,0 +1,12 @@ +<doc> + <head> + <its:rules version="1.0" xmlns:its="http://www.w3.org/2005/11/its"> + <its:withinTextRule withinText="yes" selector="//b|//u|//i"/> + <its:withinTextRule withinText="nested" selector="//fn"/> + </its:rules> + </head> + <body> + <p>This is a paragraph with <b>bold</b>, <i>italic</i>, and <u>underlined</u>.</p> + <p>This is a paragraph with a footnote<fn>This is the text of the footnote</fn> at the middle.</p> + </body> + </doc><!-- timestamp $Id: WithinText1.xml,v 1.3 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/WithinText2.xml b/tests/WithinText2.xml new file mode 100644 index 0000000..5e292bd --- /dev/null +++ b/tests/WithinText2.xml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<myDocument xmlns="http://my.DocumentURI/" xml:lang="en"> + <prolog> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="WithinText2_LinkedRules.xml" + xmlns:d="http://my.DocumentURI/"> + <its:withinTextRule selector="//d:keywords/d:kw" withinText="no"/> +</its:rules> + <author>Zebulon Fairfield</author> + <version>version 12, revision 2 - 2006-08-14</version> + <keywords><kw>horse</kw><kw>appaloosa</kw></keywords> + <storageKey>articles-6D272BA9-3B89CAD8</storageKey> + </prolog> + <content> + <section> + <title>Appaloosa</title> + <p>The Appaloosa<fnote>The name comes from "Palouse horse" in reference + to the Palouse River in Northern Idaho.</fnote> are rugged horses + originally breed by the <kw>Nez-Perce</kw> tribe in the US Northwest.</p> + <p>They are often characterized by their spotted coats, as shown + here: <img src="appaloosa.png" alt="Appaloosa horses"/></p> + </section> + <footer><p>Copyright: <em>Zebulon Inc.</em></p></footer> + </content> +</myDocument><!-- timestamp $Id: WithinText2.xml,v 1.8 2007/02/02 16:55:05 srahtz3 Exp $ --> diff --git a/tests/WithinText2_LinkedRules.xml b/tests/WithinText2_LinkedRules.xml new file mode 100644 index 0000000..41e2a24 --- /dev/null +++ b/tests/WithinText2_LinkedRules.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0" + xmlns:d="http://my.DocumentURI/"> + <its:withinTextRule selector="//d:kw|//d:img|//d:em" withinText="yes"/> + <its:withinTextRule selector="//d:fnote" withinText="nested"/> +</its:rules><!-- timestamp $Id: WithinText2_LinkedRules.xml,v 1.6 2007/02/02 16:55:05 srahtz3 Exp $ --> |