- From: Martin Duerst <duerst@it.aoyama.ac.jp>
- Date: Mon, 29 Jan 2007 12:39:41 +0900
- To: Jirka Kosek <jirka@kosek.cz>, public-i18n-its@w3.org
Hello Jirka, Is your only request (in terms of syntax) that the namespace prefix be removed from its:version? I.e. would the following be okay with you: <myRes> <head> <its:rules xmlns:its="http://www.w3.org/2005/11/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> [see below for more] At 20:05 07/01/28, Jirka Kosek wrote: >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. If this is so in general, it seems to be a serious limitation of NVDL. It would make it impossible to have two or more attributes in a namespace that are not always used together. It seems it would also create problems for somebody who wants to allow its:translate attributes on some elements of their DTD, and some other its attributes on some other elements, but not its:translate for those elements. >This will attach also its:translate attribute >which is of course not allowed on its:rules by ITS schema. I don't understand this. If it also attaches the its:translate attribute, isn't that just what we want? Regards, Martin. >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$BaM(Bn$By%1(Bkolen$By(Ba poradenstv$By(Bv oblasti technologi$By(BXML. > Pod$ByW(Bejte se na n$Bb;(B nov$Bw(Bspu$B%1(Bt$BwO(Bý web http://DocBook.cz > Podrobný p$BF(Bhled $B%1(Bkolen$By(Bhttp://xmlguru.cz/skoleni/ >------------------------------------------------------------------ > Nejbli$B%;%1y(Bterm$ByO(By $B%1(Bkolen$By(B >** XML pro vývoj$Bbz(Be 19.-22.3.2007 ** XML sch$BqN(Bata 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 >------------------------------------------------------------------ > > >Content-Type: application/pgp-signature; name="signature.asc" >Content-Description: OpenPGP digital signature >Content-Disposition: attachment; filename="signature.asc" > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.5 (MingW32) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFFvIOOzwmSw7n0dR4RAl65AJ97I9Jo6TcyM2EdcDBWsq8pXZLBYQCgtvLJ >X5SgodgUHn3bWT0seYz86As= >=8W+Y >-----END PGP SIGNATURE----- #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp
Received on Tuesday, 30 January 2007 00:41:13 UTC