W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

2 Examples in the spec

From: Yves Savourel <yves@opentag.com>
Date: Fri, 31 Mar 2006 06:52:01 -0700
To: "'Felix Sasaki'" <fsasaki@w3.org>
Cc: <public-i18n-its@w3.org>
Message-ID: <005c01c654ca$49f4ba20$0300a8c0@Breizh>

Hi felix, all,

I was looking at the latest editor's spec and noted the following:

--- Example 5:

I don't think we should use prefix with DITA as they hardcode the prefix to be '' in the DTD.
I suggested to use the following example instead (validate with XMLSpy (except for the ITS bit)):

<topic id="myTopic" xml:lang="en-us">
 <title>Using ITS</title>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its">
   <its:translateRule its:selector="//term" its:translate="no" />
  <p>An <term>ITS namespace</term> definition exists...</p>

--- Example 11:

(That is the old example 18 (the one Jirka noted))
I think it should be:

<topic id="myTopic">
 <title>The ITS Topic</title>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its">
   <its:translateRule its:selector="//*[@translate='no']" its:translate="no"/>
   <its:translateRule its:selector="//*[@translate='yes']" its:translate="yes"/>
   <its:termRule its:selector="//term | //dt"/>
   <dlentry id="tDataCat">
    <dt>Data category</dt>
    <dd>ITS defines <term>data category</term> as an abstract concept for a particular type of information for internationalization
and localization of XML schemas and documents.</dd>
  <p>For the implementation of ITS, apply the rules in the order:</p>
   <li>Rules in the schema</li>
   <li>Rules in the document instance</li>
   <li>Local attributes</li>
  <p><ph translate="no" xml:lang="fr">Et voilą !</ph> The last rule wins.</p>

Talk to you soon,
Received on Friday, 31 March 2006 13:52:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:07 UTC