- From: Yves Savourel via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 22 Aug 2012 13:41:51 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv20933 Modified Files: its20.html its20.odd Log Message: Completed addition of loc quality issue (I think). Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.126 retrieving revision 1.127 diff -u -d -r1.126 -r1.127 --- its20.odd 22 Aug 2012 13:15:37 -0000 1.126 +++ its20.odd 22 Aug 2012 13:41:49 -0000 1.127 @@ -4842,7 +4842,34 @@ <attDef ident="locQualityIssueType" usage="opt"> <desc>TODO</desc> <datatype> - <rng:data type="string" /> + <rng:choice> + <rng:value>terminology</rng:value> + <rng:value>mistranslation</rng:value> + <rng:value>omission</rng:value> + <rng:value>untranslated</rng:value> + <rng:value>addition</rng:value> + <rng:value>duplication</rng:value> + <rng:value>inconsistency</rng:value> + <rng:value>grammar</rng:value> + <rng:value>legal</rng:value> + <rng:value>register</rng:value> + <rng:value>locale-specific-content</rng:value> + <rng:value>locale-violation</rng:value> + <rng:value>style</rng:value> + <rng:value>characters</rng:value> + <rng:value>misspelling</rng:value> + <rng:value>typographical</rng:value> + <rng:value>formatting</rng:value> + <rng:value>inconsistent-entities</rng:value> + <rng:value>numbers</rng:value> + <rng:value>markup</rng:value> + <rng:value>pattern-problem</rng:value> + <rng:value>whitespace</rng:value> + <rng:value>internationalization</rng:value> + <rng:value>length</rng:value> + <rng:value>uncategorized</rng:value> + <rng:value>other</rng:value> + </rng:choice> </datatype> </attDef> <attDef ident="locQualityIssueTypePointer" usage="opt"> @@ -4889,6 +4916,72 @@ </attDef> </attList> </elementSpec> + <classSpec ident="att.locqualityissue" type="atts"> + <attList> + <attDef ident="locQualityIssuesRef" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="anyURI" /> + </datatype> + </attDef> + <attDef ident="locQualityIssueType" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:choice> + <rng:value>terminology</rng:value> + <rng:value>mistranslation</rng:value> + <rng:value>omission</rng:value> + <rng:value>untranslated</rng:value> + <rng:value>addition</rng:value> + <rng:value>duplication</rng:value> + <rng:value>inconsistency</rng:value> + <rng:value>grammar</rng:value> + <rng:value>legal</rng:value> + <rng:value>register</rng:value> + <rng:value>locale-specific-content</rng:value> + <rng:value>locale-violation</rng:value> + <rng:value>style</rng:value> + <rng:value>characters</rng:value> + <rng:value>misspelling</rng:value> + <rng:value>typographical</rng:value> + <rng:value>formatting</rng:value> + <rng:value>inconsistent-entities</rng:value> + <rng:value>numbers</rng:value> + <rng:value>markup</rng:value> + <rng:value>pattern-problem</rng:value> + <rng:value>whitespace</rng:value> + <rng:value>internationalization</rng:value> + <rng:value>length</rng:value> + <rng:value>uncategorized</rng:value> + <rng:value>other</rng:value> + </rng:choice> + </datatype> + </attDef> + <attDef ident="locQualityIssueComment" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="string" /> + </datatype> + </attDef> + <attDef ident="locQualityIssueSeverity" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="string" /> + </datatype> + </attDef> + <attDef ident="locQualityIssueProfileRef" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="anyURI" /> + </datatype> + </attDef> + </attList> + </classSpec> <elementSpec ident="locQualityIssues" ns="http://www.w3.org/2005/11/its"> <desc>List of <gi>locQualityIssue</gi> elements.</desc> <content> @@ -4906,7 +4999,34 @@ <attDef ident="locQualityIssueType" usage="opt"> <desc>TODO</desc> <datatype> - <rng:data type="string" /> + <rng:choice> + <rng:value>terminology</rng:value> + <rng:value>mistranslation</rng:value> + <rng:value>omission</rng:value> + <rng:value>untranslated</rng:value> + <rng:value>addition</rng:value> + <rng:value>duplication</rng:value> + <rng:value>inconsistency</rng:value> + <rng:value>grammar</rng:value> + <rng:value>legal</rng:value> + <rng:value>register</rng:value> + <rng:value>locale-specific-content</rng:value> + <rng:value>locale-violation</rng:value> + <rng:value>style</rng:value> + <rng:value>characters</rng:value> + <rng:value>misspelling</rng:value> + <rng:value>typographical</rng:value> + <rng:value>formatting</rng:value> + <rng:value>inconsistent-entities</rng:value> + <rng:value>numbers</rng:value> + <rng:value>markup</rng:value> + <rng:value>pattern-problem</rng:value> + <rng:value>whitespace</rng:value> + <rng:value>internationalization</rng:value> + <rng:value>length</rng:value> + <rng:value>uncategorized</rng:value> + <rng:value>other</rng:value> + </rng:choice> </datatype> </attDef> <attDef ident="locQualityIssueComment" usage="opt"> @@ -4929,6 +5049,72 @@ </attDef> </attList> </elementSpec> + <classSpec ident="att.locqualityissue.html5" type="atts"> + <attList> + <attDef ident="its-loc-quality-issues-ref" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="anyURI" /> + </datatype> + </attDef> + <attDef ident="its-loc-quality-issue-type" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:choice> + <rng:value>terminology</rng:value> + <rng:value>mistranslation</rng:value> + <rng:value>omission</rng:value> + <rng:value>untranslated</rng:value> + <rng:value>addition</rng:value> + <rng:value>duplication</rng:value> + <rng:value>inconsistency</rng:value> + <rng:value>grammar</rng:value> + <rng:value>legal</rng:value> + <rng:value>register</rng:value> + <rng:value>locale-specific-content</rng:value> + <rng:value>locale-violation</rng:value> + <rng:value>style</rng:value> + <rng:value>characters</rng:value> + <rng:value>misspelling</rng:value> + <rng:value>typographical</rng:value> + <rng:value>formatting</rng:value> + <rng:value>inconsistent-entities</rng:value> + <rng:value>numbers</rng:value> + <rng:value>markup</rng:value> + <rng:value>pattern-problem</rng:value> + <rng:value>whitespace</rng:value> + <rng:value>internationalization</rng:value> + <rng:value>length</rng:value> + <rng:value>uncategorized</rng:value> + <rng:value>other</rng:value> + </rng:choice> + </datatype> + </attDef> + <attDef ident="its--loc-quality-issue-comment" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="string" /> + </datatype> + </attDef> + <attDef ident="its-loc-quality-issue-severity" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="string" /> + </datatype> + </attDef> + <attDef ident="its-loc-quality-issue-profile-ref" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="anyURI" /> + </datatype> + </attDef> + </attList> + </classSpec> </specGrp> </div> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.126 retrieving revision 1.127 diff -u -d -r1.126 -r1.127 --- its20.html 22 Aug 2012 13:15:37 -0000 1.126 +++ its20.html 22 Aug 2012 13:41:49 -0000 1.127 @@ -2322,13 +2322,13 @@ to learn more about the quality issues in use.</td></tr></tbody></table></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue-implementation" id="lqissue-implementation" shape="rect"/>6.18.2 Implementation</h4><p>The <a href="#lqissue" shape="rect">Localization Quality Issue</a> data category can be expressed with global rules, or locally on individual elements. The information applies to the textual content of the element, - <em>including</em> child elements, but excluding attributes.</p><p id="lqissue-global">GLOBAL: The <a class="itsmarkup" href="#locQualityIssueRule" shape="rect">locQualityIssueRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>At least one of the following:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a> attribute. Its value is a URI pointing to the + <em>including</em> child elements, but excluding attributes.</p><p id="lqissue-global">GLOBAL: The <a class="itsmarkup" href="#locQualityIssueRule" shape="rect">locQualityIssueRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>At least one of the following:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> attribute. Its value is a URI pointing to the <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> element containing the list of issues related to this content.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> - pointing to a node with the exact same semantics as <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueTypePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> - pointing to a node with the exact same semantics as <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a> attribute that implements the <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueCommentPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> - pointing to a node with the exact same semantics as <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a>.</p></li></ul></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a> attribute that implements the <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverityPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> - pointing to a node with the exact same semantics as <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a> attribute that implements the <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> - pointing to a node with the exact same semantics as <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRefPointer</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueTypePointer</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueCommentPointer</a>, + pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueTypePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> + pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a> attribute that implements the <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueCommentPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> + pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a>.</p></li></ul></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a> attribute that implements the <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverityPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> + pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a> attribute that implements the <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> + pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRefPointer</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueTypePointer</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueCommentPointer</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverityPointer</a> and <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRefPointer</a> do not apply to HTML as local markup is provided for direct annotation in HTML.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-global-1" id="EX-locQualityIssue-global-1" shape="rect"/>Example 67: Annotating an issue in XML with <a class="itsmarkup" href="#locQualityIssueRule" shape="rect">locQualityIssueRule</a> element</div><p>The <a class="itsmarkup" href="#locQualityIssueRule" shape="rect">locQualityIssueRule</a> element associates the issue information with a selected span of content.</p><div class="exampleInner"><pre xml:space="preserve"> <doc @@ -2386,24 +2386,24 @@ locQualityIssueComent="Sentence without capitalization" locQualityIssueSeverity="50"/> </its:rules></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssueRule-html5-global.xml" shape="rect">examples/html5/EX-locQualityIssueRule-html5-global.xml</a>]</p></div><p id="lqissue-local">LOCAL: Using the inline markup to represent the data category locally is limited to a single - occurrence for a given content (e.g. one cannot have different <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a> attributes applied + occurrence for a given content (e.g. one cannot have different <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attributes applied to the same span of text because the inner-most one would override the others). Because there may be several instances of a localization quality issue for a given ontent, a local <em>standoff markup</em> allowing - such cases is also provided.</p><p>The following local markup is available for the Localization Quality Issue data category:</p><ul><li><p>Either (inline markup):</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li></ul></li><li><p>Or (standoff markup):</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a> attribute. Its value is a URI pointing to the <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> element + such cases is also provided.</p><p>The following local markup is available for the Localization Quality Issue data category:</p><ul><li><p>Either (inline markup):</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li></ul></li><li><p>Or (standoff markup):</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> attribute. Its value is a URI pointing to the <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> element containing the list of issues related to this content.</p></li><li><p>An element <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> (or <code><span loc-quality-issues></code> in HTML) which contains:</p><ul><li><p>One or more elements <a class="itsmarkup" href="#locQualityIssue" shape="rect">locQualityIssue</a> (or <code><span its-loc-quality-issue></code> in HTML), - each of which contains:</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a> attribute that implements the - <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li></ul></li></ul></li></ul></li></ul><p>Important: When the attributes <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a> - and <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a> (or their equivalent representations) are used in in a standoff manner, the information + each of which contains:</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a> attribute that implements the + <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li></ul></li></ul></li></ul></li></ul><p>Important: When the attributes <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a>, <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a>, <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a> + and <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a> (or their equivalent representations) are used in in a standoff manner, the information they carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element - <a class="itsmarkup" href="#locQualityIssue" shape="rect">locQualityIssue</a> (or <code><span loc-quality-issue></code>in HTML) where they are declared.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1" shape="rect"/>Example 71: Annotating an issue in XML with local inline markup</div><p>The attributes <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a>, <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueComment</a> and - <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueSeverity</a> are used to + <a class="itsmarkup" href="#locQualityIssue" shape="rect">locQualityIssue</a> (or <code><span loc-quality-issue></code>in HTML) where they are declared.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1" shape="rect"/>Example 71: Annotating an issue in XML with local inline markup</div><p>The attributes <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a>, <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">locQualityIssueComment</a> and + <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">locQualityIssueSeverity</a> are used to associate the issue information directly with a selected span of content.</p><div class="exampleInner"><pre xml:space="preserve"> <doc xmlns:its="http://www.w3.org/2005/11/its" @@ -2491,7 +2491,7 @@ </p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html" shape="rect">examples/html5/EX-locQualityIssue-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-2" id="EX-locQualityIssue-local-2" shape="rect"/>Example 73: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode several issues. - The <code>mrk</code> element delimits the content to markup and holds a <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a> + The <code>mrk</code> element delimits the content to markup and holds a <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> attribute that points to the <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> element where the issues are listed.</p><div class="exampleInner"><pre xml:space="preserve"> <xliff xmlns:its="http://www.w3.org/2005/11/its" version="1.2" @@ -2513,8 +2513,8 @@ </file> </xliff></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-2.xml" shape="rect">examples/xml/EX-locQualityIssue-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-3" id="EX-locQualityIssue-local-3" shape="rect"/>Example 74: Annotating an issue in XML with local standoff markup and a global rule</div><p>The following example shows a document using local standoff markup to encode several issues. But because, in this case, the <code>mrk</code> element does not allow attributes from another - namespace we cannot use <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a> directly. - Instead, a global rule is used to map the function of <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRef</a> to a non-ITS + namespace we cannot use <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> directly. + Instead, a global rule is used to map the function of <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> to a non-ITS construct, here the <code>ref</code> attribute of any <code>mrk</code> elements that has its attribute <code>type</code> set to "x-itslq".</p><div class="exampleInner"><pre xml:space="preserve"> <doc @@ -2562,10 +2562,10 @@ its-loc-quality-issue-severity="30"/> </span> </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html" shape="rect">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div><span class="editor-note">[Ed. note: TODO for above: Finalize how HTML its-loc-quality-issues and its-loc-quality-issue should be defined.]</span><p id="lqissue-typevalues">Values for the Localization Quality Issue Type:</p><p>The <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a> attribute provides a basic level of interoperability between different localization quality +</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html" shape="rect">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div><span class="editor-note">[Ed. note: TODO for above: Finalize how HTML its-loc-quality-issues and its-loc-quality-issue should be defined.]</span><p id="lqissue-typevalues">Values for the Localization Quality Issue Type:</p><p>The <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attribute provides a basic level of interoperability between different localization quality assurance systems. It offers a list of high-level quality issue types common in automatic and human localization quality assessment. Tools can map their internal categories to these categories in order to exchange information about the kinds of issues they - identify and take appropriate action even if another tool does not know the specific issues identified by the generating tool.</p><p>The values listed in the following table are allowed for <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueType</a>. The values a tool implementing the data category + identify and take appropriate action even if another tool does not know the specific issues identified by the generating tool.</p><p>The values listed in the following table are allowed for <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a>. The values a tool implementing the data category produces for the attribute <a href="#rfc-keywords" shape="rect">MUST</a> match one of the values provided in this table and <a href="#rfc-keywords" shape="rect">MUST</a> be semantically accurate. If a tool can map its internal values to these categories it <a href="#rfc-keywords" shape="rect">MUST</a> do so and <a href="#rfc-keywords" shape="rect">MUST NOT</a> use the value <code>other</code>, @@ -2682,7 +2682,7 @@ </td><td rowspan="1" colspan="1">There is a significant difference in source and target length.</td><td rowspan="1" colspan="1"> <ul><li><p>The translation of a segment is five times as long as the source.</p></li></ul> </td><td rowspan="1" colspan="1">T</td><td rowspan="1" colspan="1">What constitutes a "significant" difference in length is determined by the model - referred to in the <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueProfileRef</a>.</td></tr><tr><td rowspan="1" colspan="1"> + referred to in the <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">locQualityIssueProfileRef</a>.</td></tr><tr><td rowspan="1" colspan="1"> <code>uncategorized</code> </td><td rowspan="1" colspan="1">The issue has not been categorized.</td><td rowspan="1" colspan="1"> <ul><li><p>A new version of a tool returns information on an issue that has not been previously checked and that is not yet classified.</p></li></ul> @@ -2711,24 +2711,160 @@ <a href="#att.selector.attributes" shape="rect">att.selector.attributes</a>, attribute locQualityIssuesRef { xsd:anyURI }?, attribute locQualityIssuesRefPointer { string }?, - attribute locQualityIssueType { string }?, + attribute locQualityIssueType + { + "terminology" + | "mistranslation" + | "omission" + | "untranslated" + | "addition" + | "duplication" + | "inconsistency" + | "grammar" + | "legal" + | "register" + | "locale-specific-content" + | "locale-violation" + | "style" + | "characters" + | "misspelling" + | "typographical" + | "formatting" + | "inconsistent-entities" + | "numbers" + | "markup" + | "pattern-problem" + | "whitespace" + | "internationalization" + | "length" + | "uncategorized" + | "other" + }?, attribute locQualityIssueTypePointer { string }?, attribute locQualityIssueComment { string }?, attribute locQualityIssueCommentPointer { string }?, attribute locQualityIssueSeverity { string }?, attribute locQualityIssueSeverityPointer { string }?, attribute locQualityIssueProfileRef { xsd:anyURI }?, - attribute locQualityIssueProfileRefPointer { string }?</code></td></tr></tbody></table></dd><dt class="label">locQualityIssues</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssues" id="locQualityIssues" shape="rect"/>[142] </td><td rowspan="1" colspan="1"><code>locQualityIssues</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:locQualityIssues { locQualityIssues.content }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssues.content" id="locQualityIssues.content" shape="rect"/>[143] </td><td rowspan="1" colspan="1"><code>locQualityIssues.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - <a href="#locQualityIssue" shape="rect">locQualityIssue</a>+</code></td></tr></tbody></table></dd><dt class="label">locQualityIssue</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue" id="locQualityIssue" shape="rect"/>[144] </td><td rowspan="1" colspan="1"><code>locQualityIssue</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute locQualityIssueProfileRefPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.locqualityissue" id="att.locqualityissue" shape="rect"/>att.locqualityissue</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attributes" id="att.locqualityissue.attributes" shape="rect"/>[142] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + + <a href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">att.locqualityissue.attribute.locQualityIssuesRef</a>, + <a href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">att.locqualityissue.attribute.locQualityIssueType</a>, + <a href="#att.locqualityissue.attribute.locQualityIssueComment" shape="rect">att.locqualityissue.attribute.locQualityIssueComment</a>, + <a href="#att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect">att.locqualityissue.attribute.locQualityIssueSeverity</a>, + <a href="#att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect">att.locqualityissue.attribute.locQualityIssueProfileRef</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attribute.locQualityIssuesRef" id="att.locqualityissue.attribute.locQualityIssuesRef" shape="rect"/>[143] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attribute.locQualityIssuesRef</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:locQualityIssuesRef { xsd:anyURI }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attribute.locQualityIssueType" id="att.locqualityissue.attribute.locQualityIssueType" shape="rect"/>[144] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attribute.locQualityIssueType</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:locQualityIssueType + { + "terminology" + | "mistranslation" + | "omission" + | "untranslated" + | "addition" + | "duplication" + | "inconsistency" + | "grammar" + | "legal" + | "register" + | "locale-specific-content" + | "locale-violation" + | "style" + | "characters" + | "misspelling" + | "typographical" + | "formatting" + | "inconsistent-entities" + | "numbers" + | "markup" + | "pattern-problem" + | "whitespace" + | "internationalization" + | "length" + | "uncategorized" + | "other" + }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attribute.locQualityIssueComment" id="att.locqualityissue.attribute.locQualityIssueComment" shape="rect"/>[145] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attribute.locQualityIssueComment</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:locQualityIssueComment { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attribute.locQualityIssueSeverity" id="att.locqualityissue.attribute.locQualityIssueSeverity" shape="rect"/>[146] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attribute.locQualityIssueSeverity</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:locQualityIssueSeverity { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.attribute.locQualityIssueProfileRef" id="att.locqualityissue.attribute.locQualityIssueProfileRef" shape="rect"/>[147] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.attribute.locQualityIssueProfileRef</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:locQualityIssueProfileRef { xsd:anyURI }?</code></td></tr></tbody></table></dd><dt class="label">locQualityIssues</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssues" id="locQualityIssues" shape="rect"/>[148] </td><td rowspan="1" colspan="1"><code>locQualityIssues</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:locQualityIssues { locQualityIssues.content }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssues.content" id="locQualityIssues.content" shape="rect"/>[149] </td><td rowspan="1" colspan="1"><code>locQualityIssues.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + <a href="#locQualityIssue" shape="rect">locQualityIssue</a>+</code></td></tr></tbody></table></dd><dt class="label">locQualityIssue</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue" id="locQualityIssue" shape="rect"/>[150] </td><td rowspan="1" colspan="1"><code>locQualityIssue</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:locQualityIssue { locQualityIssue.content, <a href="#locQualityIssue.attributes" shape="rect">locQualityIssue.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue.content" id="locQualityIssue.content" shape="rect"/>[145] </td><td rowspan="1" colspan="1"><code>locQualityIssue.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue.attributes" id="locQualityIssue.attributes" shape="rect"/>[146] </td><td rowspan="1" colspan="1"><code>locQualityIssue.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute locQualityIssueType { string }?, + }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue.content" id="locQualityIssue.content" shape="rect"/>[151] </td><td rowspan="1" colspan="1"><code>locQualityIssue.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="locQualityIssue.attributes" id="locQualityIssue.attributes" shape="rect"/>[152] </td><td rowspan="1" colspan="1"><code>locQualityIssue.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute locQualityIssueType + { + "terminology" + | "mistranslation" + | "omission" + | "untranslated" + | "addition" + | "duplication" + | "inconsistency" + | "grammar" + | "legal" + | "register" + | "locale-specific-content" + | "locale-violation" + | "style" + | "characters" + | "misspelling" + | "typographical" + | "formatting" + | "inconsistent-entities" + | "numbers" + | "markup" + | "pattern-problem" + | "whitespace" + | "internationalization" + | "length" + | "uncategorized" + | "other" + }?, attribute locQualityIssueComment { string }?, attribute locQualityIssueSeverity { string }?, - attribute locQualityIssueProfileRef { xsd:anyURI }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> + attribute locQualityIssueProfileRef { xsd:anyURI }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.locqualityissue.html5" id="att.locqualityissue.html5" shape="rect"/>att.locqualityissue.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attributes" id="att.locqualityissue.html5.attributes" shape="rect"/>[153] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + + <a href="#att.locqualityissue.html5.attribute.its-loc-quality-issues-ref" shape="rect">att.locqualityissue.html5.attribute.its-loc-quality-issues-ref</a>, + <a href="#att.locqualityissue.html5.attribute.its-loc-quality-issue-type" shape="rect">att.locqualityissue.html5.attribute.its-loc-quality-issue-type</a>, + <a href="#att.locqualityissue.html5.attribute.its--loc-quality-issue-comment" shape="rect">att.locqualityissue.html5.attribute.its--loc-quality-issue-comment</a>, + <a href="#att.locqualityissue.html5.attribute.its-loc-quality-issue-severity" shape="rect">att.locqualityissue.html5.attribute.its-loc-quality-issue-severity</a>, + <a href="#att.locqualityissue.html5.attribute.its-loc-quality-issue-profile-ref" shape="rect">att.locqualityissue.html5.attribute.its-loc-quality-issue-profile-ref</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attribute.its-loc-quality-issues-ref" id="att.locqualityissue.html5.attribute.its-loc-quality-issues-ref" shape="rect"/>[154] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attribute.its-loc-quality-issues-ref</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-loc-quality-issues-ref { xsd:anyURI }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attribute.its-loc-quality-issue-type" id="att.locqualityissue.html5.attribute.its-loc-quality-issue-type" shape="rect"/>[155] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attribute.its-loc-quality-issue-type</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-loc-quality-issue-type + { + "terminology" + | "mistranslation" + | "omission" + | "untranslated" + | "addition" + | "duplication" + | "inconsistency" + | "grammar" + | "legal" + | "register" + | "locale-specific-content" + | "locale-violation" + | "style" + | "characters" + | "misspelling" + | "typographical" + | "formatting" + | "inconsistent-entities" + | "numbers" + | "markup" + | "pattern-problem" + | "whitespace" + | "internationalization" + | "length" + | "uncategorized" + | "other" + }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attribute.its--loc-quality-issue-comment" id="att.locqualityissue.html5.attribute.its--loc-quality-issue-comment" shape="rect"/>[156] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attribute.its--loc-quality-issue-comment</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its--loc-quality-issue-comment { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attribute.its-loc-quality-issue-severity" id="att.locqualityissue.html5.attribute.its-loc-quality-issue-severity" shape="rect"/>[157] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attribute.its-loc-quality-issue-severity</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-loc-quality-issue-severity { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityissue.html5.attribute.its-loc-quality-issue-profile-ref" id="att.locqualityissue.html5.attribute.its-loc-quality-issue-profile-ref" shape="rect"/>[158] </td><td rowspan="1" colspan="1"><code>att.locqualityissue.html5.attribute.its-loc-quality-issue-profile-ref</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-loc-quality-issue-profile-ref { xsd:anyURI }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqprecis" id="lqprecis" shape="rect"/>6.19 Localization Quality Précis</h3><p>The Localization Quality Précis data category will be defined in an updated version of this document.</p></div></div></div><div class="back"><div class="div1"> <h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="normative-references" id="normative-references" shape="rect"/>A References</h2><dl><dt class="label"><a name="bcp47" id="bcp47" shape="rect"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"><cite>Tags for Identifying Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="qa-framework" id="qa-framework" shape="rect"/>QAFRAMEWORK</dt><dd>Karl Dubost, Lynne Rosental, Dominique Hazaël-Massieux, @@ -2993,7 +3129,7 @@ <h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-schematron-constraints" id="its-schematron-constraints" shape="rect"/>E Checking ITS Markup Constraints With Schematron (Non-Normative)</h2><p> <em>This section is informative.</em> </p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following <a title="Rule-based validation -- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for validating some of these - constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9108" id="d3e9108" shape="rect"/>Example 76: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9212" id="d3e9212" shape="rect"/>Example 76: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -3060,7 +3196,7 @@ <em>This section is informative.</em> </p><p>The following <a title="Namespace-based Validation Dispatching Language (NVDL)" href="#nvdl" shape="rect">[NVDL]</a> document allows validation of ITS markup which has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and - attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9130" id="d3e9130" shape="rect"/>Example 77: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace + attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9234" id="d3e9234" shape="rect"/>Example 77: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://www.w3.org/2005/11/its"> <validate schema="its-elements.rng"/> </namespace> <namespace ns="http://www.w3.org/2005/11/its" match="attributes"> <validate schema="its-attributes.rng"/> </namespace> <anyNamespace>
Received on Wednesday, 22 August 2012 13:41:57 UTC