- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Thu, 18 Jul 2013 06:52:59 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas In directory gil:/tmp/cvs-serv9913/schemas Modified Files: its20-types.rng its20.sch Log Message: more example re-formatting --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20-types.rng 2013/05/26 10:33:50 1.16 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20-types.rng 2013/07/18 06:52:59 1.17 @@ -37,7 +37,8 @@ </data> </define> <define name="its-translate.type"> - <a:documentation>The Translate data category information to be attached to the current node</a:documentation> + <a:documentation>The Translate data category information + to be attached to the current node</a:documentation> <choice> <value>yes</value> <a:documentation>The nodes need to be translated</a:documentation> @@ -92,7 +93,8 @@ <a:documentation>States whether current context is regarded as "within text"</a:documentation> <choice> <value>yes</value> - <a:documentation>The element and its content are part of the flow of its parent element</a:documentation> + <a:documentation>The element and its content are part of the flow of + its parent element</a:documentation> <value>no</value> <a:documentation>The element splits the text flow of its parent element and its content is an independent text flow</a:documentation> --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.sch 2013/05/26 10:33:54 1.6 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.sch 2013/07/18 06:52:59 1.7 @@ -8,24 +8,27 @@ <assert test="ancestor-or-self::*/@its:version | //its:rules/@version">The version is indicated by the ITS version attribute. This attribute is mandatory for the rules element, where it MUST be in no namespace. - If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST - be on the element where the ITS markup is used, or on one of its ancestors.</assert> + If there is no rules element in an XML document, a prefixed ITS version attribute + (e.g. its:version) MUST be on the element where the ITS markup is used, + or on one of its ancestors.</assert> </rule> <rule context="its:provenanceRecords | its:locQualityIssues"> <assert test="self::*/@version | ancestor::*/@its:version | //its:rules/@version">The version is indicated by the ITS version attribute. This attribute is mandatory for the rules element, where it MUST be in no namespace. - If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST be - on the element where the ITS markup is used, or on one of its ancestors. - For standoff markup unprefixed version attribute is used.</assert> + If there is no rules element in an XML document, a prefixed ITS version attribute + (e.g. its:version) MUST be on the element where the ITS markup is used, or + on one of its ancestors. For standoff markup unprefixed version attribute is used.</assert> </rule> <rule context="*[@its:version]"> - <assert test="if (@its:version and //its:rules/@version) then //its:rules/@version = @its:version else true()"> + <assert test="if (@its:version and //its:rules/@version) + then //its:rules/@version = @its:version else true()"> There MUST NOT be two different versions of ITS in the same document.</assert> <assert test="every $v in //*/@its:version satisfies $v = @its:version"> There MUST NOT be two different versions of ITS in the same document.</assert> </rule> <rule context="its:provenanceRecords | its:locQualityIssues"> - <assert test="if (@version and //its:rules/@version) then //its:rules/@version = @version else true()"> + <assert test="if (@version and //its:rules/@version) + then //its:rules/@version = @version else true()"> There MUST NOT be two different versions of ITS in the same document.</assert> <assert test="every $v in //*/@its:version satisfies $v = @version"> There MUST NOT be two different versions of ITS in the same document.</assert> @@ -52,12 +55,13 @@ <title>ITS Tools Annotation</title> <rule context="*[@its:annotatorsRef]"> <assert test="every $ref in tokenize(@its:annotatorsRef, '\s+') satisfies - matches($ref, '(translate|localization-note|terminology|directionality|language-information| + matches($ref, ' + (translate|localization-note|terminology|directionality|language-information| elements-within-text|domain|text-analysis|locale-filter|provenance|external-resource| target-pointer|id-value|preserve-space|localization-quality-issue|localization-quality-rating| mt-confidence|allowed-characters|storage-size)\|.+')"> - The value of annotatorsRef is a space-separated list of references where each reference is - composed of two parts: a data category identifier and an IRI. + The value of annotatorsRef is a space-separated list of references where + each reference is composed of two parts: a data category identifier and an IRI. These two parts are separated by a character | VERTICAL LINE (U+007C).</assert> </rule> </pattern>
Received on Thursday, 18 July 2013 06:53:01 UTC