- From: CVS User jkosek <cvsmail@w3.org>
- Date: Mon, 29 Apr 2013 07:18:38 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas In directory gil:/tmp/cvs-serv25516/schemas Modified Files: its20.rnc its20.rng Log Message: Allow foreign attributes on its:span and standoff markup --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.rnc 2013/04/09 11:44:22 1.21 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.rnc 2013/04/29 07:18:38 1.22 @@ -1,5 +1,6 @@ default namespace its = "http://www.w3.org/2005/11/its" namespace xlink = "http://www.w3.org/1999/xlink" +namespace local = "" include "its20-types.rnc" @@ -163,6 +164,9 @@ its-attribute.selector = attribute selector { its-absolute-selector.type } +its-foreign-attribute = attribute * - local:* { text } +its-foreign-no-xml-id-attribute = attribute * - (local:* | xml:id) { text } + its-rules = ## Container for global rules element rules { its-rules.content, its-rules.attributes } @@ -268,7 +272,7 @@ its-span.content = (text | its-ruby | its-span)* -its-span.attributes = its-local.nons.attributes +its-span.attributes = its-local.nons.attributes & its-foreign-attribute* its-translateRule = ## Rule about the Translate data category @@ -566,7 +570,7 @@ its-provenanceRecords = ## Standoff markup for Provenance data category - element its:provenanceRecords { its-provenanceRecord+, attribute xml:id { xsd:ID }, its-attribute.version.nons? } + element its:provenanceRecords { its-provenanceRecord+, attribute xml:id { xsd:ID }, its-attribute.version.nons?, its-foreign-no-xml-id-attribute* } its-provenanceRecord = ## Provenance record used in Provenance standoff markup @@ -583,7 +587,7 @@ its-locQualityIssues = ## Standoff markup for Localization Quality Issue data category - element its:locQualityIssues { its-locQualityIssue+, attribute xml:id { xsd:ID }, its-attribute.version.nons? } + element its:locQualityIssues { its-locQualityIssue+, attribute xml:id { xsd:ID }, its-attribute.version.nons?, its-foreign-no-xml-id-attribute* } its-locQualityIssue = ## Issue recorded in Localization Quality standoff markup --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.rng 2013/04/09 11:44:22 1.18 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.rng 2013/04/29 07:18:38 1.19 @@ -518,6 +518,25 @@ <ref name="its-absolute-selector.type"/> </attribute> </define> + <define name="its-foreign-attribute"> + <attribute> + <anyName> + <except> + <nsName ns=""/> + </except> + </anyName> + </attribute> + </define> + <define name="its-foreign-no-xml-id-attribute"> + <attribute> + <anyName> + <except> + <nsName ns=""/> + <name>xml:id</name> + </except> + </anyName> + </attribute> + </define> <define name="its-rules"> <element name="rules"> <a:documentation>Container for global rules</a:documentation> @@ -919,7 +938,12 @@ </zeroOrMore> </define> <define name="its-span.attributes"> - <ref name="its-local.nons.attributes"/> + <interleave> + <ref name="its-local.nons.attributes"/> + <zeroOrMore> + <ref name="its-foreign-attribute"/> + </zeroOrMore> + </interleave> </define> <define name="its-translateRule"> <element name="translateRule"> @@ -1483,6 +1507,9 @@ <optional> <ref name="its-attribute.version.nons"/> </optional> + <zeroOrMore> + <ref name="its-foreign-no-xml-id-attribute"/> + </zeroOrMore> </element> </define> <define name="its-provenanceRecord"> @@ -1546,6 +1573,9 @@ <optional> <ref name="its-attribute.version.nons"/> </optional> + <zeroOrMore> + <ref name="its-foreign-no-xml-id-attribute"/> + </zeroOrMore> </element> </define> <define name="its-locQualityIssue">
Received on Monday, 29 April 2013 07:18:39 UTC