Problem with its:version on its:rules

Hi,

while I was doing more testing on NVDL schema I found one problem with
the current design of ITS. The problem is illustrated in
EX-locNote-element-1.xml:

<myRes>
 <head>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its"
   its:version="1.0" its:translate="no">
   <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
    <its:locNote>The variable {0} has three possible values: 'printer',
    'stacker' and 'stapler options'.</its:locNote>
   </its:locNoteRule>
  </its:rules>
 </head>
 <body>
  <msg id="DisableInfo">The {0} has been disabled.</msg>
 </body>
</myRes>

As you can see there is its:translate="no" on its:rules to specify that
content of this element should not be translated. At the same time
version of ITS is specified by namespaced its:version attribute.

This situation creates big problem for NVDL validation. In order to
attach required its:version attribute to its:rules element for
validation it is necessary to attach all attributes from ITS namespace
to its:rules element. This will attach also its:translate attribute
which is of course not allowed on its:rules by ITS schema.

The best solution of this problem is to use unnamespaced version
attribute on its:rules. I already suggested this
(http://lists.w3.org/Archives/Public/public-i18n-its/2006OctDec/0073),
but my proposal was rejected.

I'm asking for reevaluating of this decision because it goes against
common design practice used by another W3C specs (e.g. XSLT) and it
makes impossible to create general schema for validating arbitrary
document with embedded ITS markup. I would be glad if this issue should
go to the next meeting agenda.

				Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
     Podívejte se na náš nově spuštěný web http://DocBook.cz
       Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                   Nejbližší termíny školení:
** XML pro vývojáře 19.-22.3.2007 ** XML schémata 16.-18.4.2007 **
        ** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007 **
------------------------------------------------------------------
  http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

Received on Sunday, 28 January 2007 11:06:09 UTC