- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Thu, 18 Jul 2013 06:56:27 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas In directory gil:/tmp/cvs-serv10390/schemas Modified Files: its20.sch Log Message: and more example formatting --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.sch 2013/07/18 06:52:59 1.7 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.sch 2013/07/18 06:56:27 1.8 @@ -5,16 +5,17 @@ <pattern> <title>Indicating the Version of ITS</title> <rule context="*[@its:*]"> - <assert test="ancestor-or-self::*/@its:version | //its:rules/@version">The version is indicated by the - ITS version attribute. + <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> </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. + <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> @@ -68,19 +69,25 @@ <pattern> <title>Source of confidence</title> <rule context="*[@its:termConfidence]"> - <assert test="ancestor-or-self::*[@its:annotatorsRef][matches(@its:annotatorsRef, '.*\s*terminology\|.+')]"> + <assert test="ancestor-or-self::*[@its:annotatorsRef] + [matches(@its:annotatorsRef, '.*\s*terminology\|.+')]"> Any node selected by the terminology data category with the termConfidence attribute specified MUST be - contained in an element with the annotatorsRef attribute specified for the Terminology data category.</assert> + contained in an element with the annotatorsRef attribute + specified for the Terminology data category.</assert> </rule> <rule context="*[@its:taConfidence]"> - <assert test="ancestor-or-self::*[@its:annotatorsRef][matches(@its:annotatorsRef, '.*\s*text-analysis\|.+')]"> + <assert test="ancestor-or-self::*[@its:annotatorsRef] + [matches(@its:annotatorsRef, '.*\s*text-analysis\|.+')]"> Any node selected by the Text Analysis data category with the taConfidence attribute specified MUST be - contained in an element with the annotatorsRef attribute specified for the Text Analysis data category.</assert> + contained in an element with the annotatorsRef attribute + specified for the Text Analysis data category.</assert> </rule> <rule context="*[@its:mtConfidence]"> - <assert test="ancestor-or-self::*[@its:annotatorsRef][matches(@its:annotatorsRef, '.*\s*mt-confidence\|.+')]"> + <assert test="ancestor-or-self::*[@its:annotatorsRef] + [matches(@its:annotatorsRef, '.*\s*mt-confidence\|.+')]"> Any node selected by the MT Confidence data category MUST be - contained in an element with the annotatorsRef attribute specified for the MT Confidence data category.</assert> + contained in an element with the annotatorsRef attribute + specified for the MT Confidence data category.</assert> </rule> </pattern> <pattern>
Received on Thursday, 18 July 2013 06:56:28 UTC