OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita-translation message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: Translating required-cleanup


Following up on today's call...

The recommendation we would like to make is:
1. Add a default of translate="no" to the draft-comment and
required-cleanup elements in the schemas and DTDs. [To respond to Yves's
concern: when validating against a DITA Schema, the default attributes must
be read today, because processing is all based on the defaulted class
attributes].
2. Clarify that the translate attribute is respected on and within these
elements. If translate is set to "yes" on required-cleanup, the contents
will be translated. If translate is set to "yes" on a paragraph within
required-cleanup, the contents of that paragraph will be translated. In
other words, the standard definition of the translate attribute still
applies.
3. Not discussed on the call, but implied by item 1: the documentation for
required-cleanup and draft-comment should be updated to indicate the
translation default. The only way for these elements to be translated is to
explicitly set the translate attribute to "yes". This documentation update
should also cover any are unable to read the default value in the DTD.

If there are any problems with this, please respond to the list. If I do
not hear anything within the next couple of days, I will forward this
recommendation to the main DITA TC list.

Thanks,

Robert D Anderson
IBM Authoring Tools Development
Chief Architect, DITA Open Toolkit
(507) 253-8787, T/L 553-8787


                                                                       
             "Yves Savourel"                                           
             <yves@opentag.com                                       
             >                                                          To
                                       Robert D                        
             04/24/2006 12:04          Anderson/Rochester/IBM@IBMUS,   
             AM                        <dita-translation@lists.oasis-open.
                                       org>, <mambrose@sdl.com>,     
                                       <pcarey@lexmark.com>,         
                                       <rfletcher@sdl.com>,          
                                       <bhertz@sdl.com>, "'Richard   
                                       Ishida'" <ishida@w3.org>,     
                                       <tony.jewtushenko@productinnovator.
                                       com>, "'Lieske, Christian'"     
                                       <christian.lieske@sap.com>, 
                                       "'Jennifer Linton'"             
                                       <jennifer.linton@comtech-serv.com>,
                                       "'Munshi, Sukumar'"             
                                       <Sukumar.Munshi@lionbridge.com>,
                                       Charles Pau/Cambridge/IBM@Lotus,
                                       <dpooley@sdl.com>, "'Reynolds,
                                       Peter'"                         
                                       <Peter.Reynolds@lionbridge.com>,
                                       "'Felix Sasaki'" <fsasaki@w3.org>,
                                       Dave A Schell/Raleigh/IBM@IBMUS,
                                       "'Bryan Schnabel'"              
                                       <bryan.s.schnabel@tek.com>, Don
                                       Day/Austin/IBM@IBMUS            
                                                                        cc
                                                                       
                                                                   Subject
                                       RE: Translating required-cleanup
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




Hi Robert, Kevin, all,

While taking in account Kevin's point about not having files with such
elements at the translation stage, I think you still want to
make sure this case is cover. If an element exist, it is likely that, at
some point, it will end up in a set of documents going for
translation. In any case, it would feel wrong to have the translate
mechanism left with an unclear situation.

> What do others think? I think to clear up the confusion,
> we have to do one of the following (I would vote for the
> first):
> 1. Give required-cleanup and draft-comment a default of
> @translate="no"
> 2. Clarify that the current @translate behavior always
> applies - it even inherits for elements that do not
> usually get translated
> 3. Provide a list of exceptions
> where @translate does not inherit

While #1 sounds good I wonder about how this would work if the documents
use DITA schema instead of DTD. XSD allow for default, but
do always they get expended. For example: I think XSLT 1.0 was create
before XSD and therefore XSLT 1.0 processors may or may not
expend default values depending on each implementation. The same goes for
DOM engines.

Maybe a way around this would be to do #1 *and* #3: they don't seem to be
contradictory.

From ITS viewpoint, we should be able to cover any of the cases you listed:
It's only a matter to set the rules for required-cleanup
and draft-comment before or after the rules for @translate. We just need to
know which one take precedence.

Cheers,
-yves





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]