- From: CVS User jkosek <cvsmail@w3.org>
- Date: Mon, 17 Jun 2013 14:46:19 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas In directory gil:/tmp/cvs-serv19546 Added Files: its20-types.xsd its20.xsd local.xsd xlink.xsd xml.xsd Log Message: Beta version of schema --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/xlink.xsd 2012/10/08 14:30:48 1.2 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/xlink.xsd 2013/06/17 14:46:19 1.3 @@ -1,24 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink"> - <xs:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="xhtml.xsd"/> - <xs:import namespace="http://www.w3.org/2005/11/its" schemaLocation="its.xsd"/> - <xs:attribute name="href" type="xs:anyURI"> - <xs:annotation> - <xs:documentation>Pointer to external rules files.</xs:documentation> - </xs:annotation> - </xs:attribute> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink"> + <xs:import schemaLocation="local.xsd"/> + <xs:import namespace="http://www.w3.org/2005/11/its" schemaLocation="its20.xsd"/> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xs:attribute name="href" type="xs:anyURI"/> <xs:attribute name="type"> - <xs:annotation> - <xs:documentation>Type of pointer to external rules files.</xs:documentation> - </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> - <xs:enumeration value="simple"> - <xs:annotation> - <xs:documentation>Simple link.</xs:documentation> - </xs:annotation> - </xs:enumeration> + <xs:enumeration value="simple"/> </xs:restriction> </xs:simpleType> </xs:attribute> + <xs:attributeGroup name="local"> + <xs:anyAttribute namespace="##other" processContents="skip"/> + </xs:attributeGroup> </xs:schema> --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20-types.xsd 2013/06/17 14:46:19 NONE +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20-types.xsd 2013/06/17 14:46:19 1.1 <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2005/11/its" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink"> <xs:import schemaLocation="local.xsd"/> <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> <xs:simpleType name="its-version.type"> <xs:annotation> <xs:documentation>Version of ITS</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]+\.[0-9]+"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-absolute-selector.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-relative-selector.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-xpath-expression.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-confidence.type"> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-translate.type"> <xs:annotation> <xs:documentation>The Translate data category information to be attached to the current node</xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="yes"> <xs:annotation> <xs:documentation>The nodes need to be translated</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="no"> <xs:annotation> <xs:documentation>The nodes must not be translated</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locNote.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-locNoteType.type"> <xs:annotation> <xs:documentation>The type of localization note</xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="alert"> <xs:annotation> <xs:documentation>Localization note is an alert</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="description"> <xs:annotation> <xs:documentation>Localization note is a description</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locNoteRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-termInfoRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-term.type"> <xs:annotation> <xs:documentation>Indicates a term locally</xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="yes"> <xs:annotation> <xs:documentation>The value 'yes' means that this is a term</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="no"> <xs:annotation> <xs:documentation>The value 'no' means that this is not a term</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-termConfidence.type"> <xs:restriction base="its:its-confidence.type"/> </xs:simpleType> <xs:simpleType name="its-dir.type"> <xs:annotation> <xs:documentation>The text direction for the context</xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="ltr"> <xs:annotation> <xs:documentation>Left-to-right text</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="rtl"> <xs:annotation> <xs:documentation>Right-to-left text</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="lro"> <xs:annotation> <xs:documentation>Left-to-right override</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="rlo"> <xs:annotation> <xs:documentation>Right-to-left override</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-withinText.type"> <xs:annotation> <xs:documentation>States whether current context is regarded as "within text"</xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="yes"> <xs:annotation> <xs:documentation>The element and its content are part of the flow of its parent element</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="no"> <xs:annotation> <xs:documentation>The element splits the text flow of its parent element and its content is an independent text flow</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="nested"> <xs:annotation> <xs:documentation>The element is part of the flow of its parent element, its content is an independent flow</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-domainMapping.type"> <xs:annotation> <xs:documentation>A comma separated list of mappings between values in the content and workflow specific values. The values may contain spaces; in that case they MUST be delimited by quotation marks.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-taConfidence.type"> <xs:restriction base="its:its-confidence.type"/> </xs:simpleType> <xs:simpleType name="its-taClassPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-taClassRefPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-taClassRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-taIdentRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-taIdent.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-taSource.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-taIdentPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-taIdentRefPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-taSourcePointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-localeFilterList.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-localeFilterType.type"> <xs:restriction base="xs:token"> <xs:enumeration value="include"/> <xs:enumeration value="exclude"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-provenanceRecordsRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-person.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-personRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-org.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-orgRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-tool.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-toolRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-revPerson.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-revPersonRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-revOrg.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-revOrgRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-revTool.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-revToolRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-provRef.type"> <xs:restriction> <xs:simpleType> <xs:list itemType="xs:anyURI"/> </xs:simpleType> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-externalResourceRefPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-targetPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-idValue.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-space.type"> <xs:restriction base="xs:token"> <xs:enumeration value="default"/> <xs:enumeration value="preserve"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityIssuesRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssuesRefPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueType.type"> <xs:restriction base="xs:token"> <xs:enumeration value="terminology"/> <xs:enumeration value="mistranslation"/> <xs:enumeration value="omission"/> <xs:enumeration value="untranslated"/> <xs:enumeration value="addition"/> <xs:enumeration value="duplication"/> <xs:enumeration value="inconsistency"/> <xs:enumeration value="grammar"/> <xs:enumeration value="legal"/> <xs:enumeration value="register"/> <xs:enumeration value="locale-specific-content"/> <xs:enumeration value="locale-violation"/> <xs:enumeration value="style"/> <xs:enumeration value="characters"/> <xs:enumeration value="misspelling"/> <xs:enumeration value="typographical"/> <xs:enumeration value="formatting"/> <xs:enumeration value="inconsistent-entities"/> <xs:enumeration value="numbers"/> <xs:enumeration value="markup"/> <xs:enumeration value="pattern-problem"/> <xs:enumeration value="whitespace"/> <xs:enumeration value="internationalization"/> <xs:enumeration value="length"/> <xs:enumeration value="non-conformance"/> <xs:enumeration value="uncategorized"/> <xs:enumeration value="other"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityIssueTypePointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueComment.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueCommentPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueSeverity.type"> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="100"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityIssueSeverityPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueProfileRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueProfileRefPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-locQualityIssueEnabled.type"> <xs:restriction base="xs:token"> <xs:enumeration value="yes"/> <xs:enumeration value="no"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityRatingScore.type"> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="100"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityRatingVote.type"> <xs:restriction base="xs:integer"/> </xs:simpleType> <xs:simpleType name="its-locQualityRatingScoreThreshold.type"> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="100"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="its-locQualityRatingVoteThreshold.type"> <xs:restriction base="xs:integer"/> </xs:simpleType> <xs:simpleType name="its-locQualityRatingProfileRef.type"> <xs:restriction base="xs:anyURI"/> </xs:simpleType> <xs:simpleType name="its-mtConfidence.type"> <xs:restriction base="its:its-confidence.type"/> </xs:simpleType> <xs:simpleType name="its-allowedCharacters.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-allowedCharactersPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-storageSize.type"> <xs:restriction base="xs:nonNegativeInteger"/> </xs:simpleType> <xs:simpleType name="its-storageSizePointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-storageEncoding.type"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType name="its-storageEncodingPointer.type"> <xs:restriction base="its:its-relative-selector.type"/> </xs:simpleType> <xs:simpleType name="its-lineBreakType.type"> <xs:restriction base="xs:token"> <xs:enumeration value="cr"/> <xs:enumeration value="lr"/> [8 lines skipped] --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.xsd 2013/06/17 14:46:19 NONE +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/its20.xsd 2013/06/17 14:46:19 1.1 [944 lines skipped] --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/local.xsd 2013/06/17 14:46:19 NONE +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/local.xsd 2013/06/17 14:46:19 1.1 [953 lines skipped] --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/xml.xsd 2013/06/17 14:46:19 NONE +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/schemas/xml.xsd 2013/06/17 14:46:19 1.1 [960 lines skipped]
Received on Monday, 17 June 2013 14:46:27 UTC