mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00290
[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 162: Cleaning up written docs. Working on datatypes. Minor corrections in schemas,
------------------------------------------------------------
revno: 162
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Tue 2011-06-07 19:50:42 -0500
message:
Cleaning up written docs. Working on datatypes. Minor corrections in schemas,
modified:
mlhim-ref-man-2.0.x-enUS.odt
schemas/datatypes.xsd
--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main
Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'mlhim-ref-man-2.0.x-enUS.odt'
Binary files mlhim-ref-man-2.0.x-enUS.odt 2011-06-07 19:04:49 +0000 and mlhim-ref-man-2.0.x-enUS.odt 2011-06-08 00:50:42 +0000 differ
=== modified file 'schemas/datatypes.xsd'
--- schemas/datatypes.xsd 2011-05-15 16:23:33 +0000
+++ schemas/datatypes.xsd 2011-06-08 00:50:42 +0000
@@ -63,14 +63,32 @@
<xs:complexContent>
<xs:restriction base="mlhim2:DvChar">
<xs:sequence>
+
+<xs:element name="uuid" maxOccurs="1" minOccurs="1" type="xs:token">
+<xs:annotation><xs:documentation>UUID in order to track translations.</xs:documentation></xs:annotation>
+</xs:element>
+
+<xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:language">
+<xs:annotation><xs:documentation>Optional indicator of the localised language in which the value is written. Coded IAW IETF RFC 5646. http://tools.ietf.org/html/rfc5646 Only used when the text object is in a different language from the enclosing CCD.</xs:documentation></xs:annotation>
+</xs:element>
+
<xs:element name="dv" maxOccurs="1" minOccurs="0" type="xs:normalizedString"></xs:element>
+
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DvToken">
-<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
+<xs:annotation><xs:documentation>
+Represents a character string that may contain any Unicode character allowed by XML. Certain characters, namely the "less than"
+symbol and the ampersand, must be escaped (using the entities < and &, respectively) when used in strings in XML instances.
+The name token may be slightly confusing because it implies that there may be only one token with no whitespace. In fact, there
+can be whitespace in a token value. The xsd:token type has a whiteSpace facet of collapse, which means that the processor
+replaces each carriage return, line feed, and tab by a single space. After this replacement, each group of consecutive spaces is
+collapsed into one space character, and all leading and trailing spaces are removed. This processing is equivalent to the processing
+of non-CDATA attribute values in XML 1.0.
+</xs:documentation></xs:annotation>
<xs:complexContent>
<xs:restriction base="mlhim2:DvChar">
<xs:sequence>
@@ -82,23 +100,19 @@
<xs:complexType name="DvLanguage" abstract="false">
<xs:annotation><xs:documentation>
-A text item, which may contain any amount of legal characters arranged as e.g. words, sentences etc. as its data value (dv)
+A language code IAW RFC 3066, Tags for the Identification of Languages. The three most common formats are:
+ For ISO-recognized languages, the format is a two- or three-letter, (usually lowercase) language code that conforms to ISO 639, optionally followed by a hyphen and a two-letter, (usually uppercase) country code that conforms to ISO 3166. For example, en or en-US.
+ For languages registered by the Internet Assigned Numbers Authority (IANA), the format is i-langname, where langname is the registered name. For example, i-navajo.
+ For unofficial languages, the format is x-langname, where langname is a name of up to eight characters agreed upon by the two parties sharing the document. For example, x-Newspeak.
</xs:documentation></xs:annotation>
<xs:complexContent>
<xs:extension base="mlhim2:DvChar">
<xs:sequence>
-<xs:element name="uuid" maxOccurs="1" minOccurs="1" type="xs:token">
-<xs:annotation><xs:documentation>UUID in order to track translations.</xs:documentation></xs:annotation>
-</xs:element>
-
-<xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:language">
-<xs:annotation><xs:documentation>Optional indicator of the localised language in which the value is written. Coded IAW IETF RFC 5646. http://tools.ietf.org/html/rfc5646 Only used when the text object is in a different language from the enclosing CCD.</xs:documentation></xs:annotation>
-</xs:element>
-
<xs:element name="dv" maxOccurs="1" minOccurs="0" type="xs:language">
-<xs:annotation><xs:documentation>Displayable rendition of the item.</xs:documentation></xs:annotation>
+<xs:annotation><xs:documentation>Displayable rendition of the language code.</xs:documentation></xs:annotation>
</xs:element>
+
</xs:sequence>
</xs:extension>
</xs:complexContent>