- From: <w3t-archive+esw-wiki@w3.org>
- Date: Wed, 05 Oct 2005 05:45:15 -0000
- To: w3t-archive+esw-wiki@w3.org
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification.
The following page has been changed by ChristianLieske:
http://esw.w3.org/topic/its0509SpecScoping
------------------------------------------------------------------------------
* What are the rules for defaults? Example: If no "Indicator of Translatability" is present, all of
the content should be translated.
- '''[CL] Of course we could refer to information/discussions related to "xml:lang" here.'''
+ This information/discussion is similar to that about "xml:lang".
=== Levels ===
Four main locations where ITS information could specified can be envisioned:
- '''[CL] All but the second one are similar to CSS; see [http://lists.w3.org/Archives/Public/public-i18n-its/2005JanMar/0043]'''
+ All but the first one are similar to CSS; see [http://lists.w3.org/Archives/Public/public-i18n-its/2005JanMar/0043]
-
- * In an external file (e.g. to address general information for DTD-based document types)
-
- '''[CL] I would rather give external CSS as an example. '''
* In schemas (e.g. XML Schema and Relax-NG documents).
- * "In a header" of a document instance, i.e. grouped somewhere at the top the document. (e.g. to address cases where ITS info has to be overwritten at a high level in a document (vs. at the element level).
+ * In an external file (cf. style information for an XHTML page given in a CSS file)
- '''[CL] I would rather give the 'style' element as an example. '''
+ * In a special central location of a document instance (cf. the 'style' element in an XHTML page)
- * At the element level in a document instance. (e.g. to overwrite the ITS info for that element).
+ * At the element level in a document instance. (e.g. to overwrite the ITS info for that element; cf. the 'style' attribute in XHTML).
-
- '''[CL] I would rather give the 'style' attribute as an example. '''
=== Discussion (Example related to (Indicator of Translatibility)) ===
@@ -60, +54 @@
{{{<para id="a1" its:translate="no"
>Do not translate this, <span its:translate="yes">except this part</span>, etc.</para>}}}
+
+
+ Remark: Should overwriting the don't-translate default for attribute with an ITS mechanism be even allowed?
* We have two attributes {{{translateYes}}} and {{{translateNo}}}. The values of these attributes are XPath expressions. The attributes can be used at the element level, and within schema files (e.g. when defining a XSD <element>).
@@ -75, +72 @@
{{{<para id="a1" its:translateNo="span[@productCode]"
Translate this, <span productCode="River"> it's great stuff</span>, etc.</para>}}}
- Remark: Should overwriting the don't-translate default for attribute with an ITS mechanism be even allowed?
+ However, problems may arise if full XPath (rather than only a subset) is permitted. Example: An XPath expression 'pointing' to an elements anchestors. Thus, one could consider an approach for restricted XPath.
+ One positive aspect about XPath is of course the knowledge which people already have about it, and the libaries and other utilities which already are available for it.
+
Received on Wednesday, 5 October 2005 14:55:06 UTC