[ESW Wiki] Update of "its0505ReqNamingScheme" by YvesSavourel

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 YvesSavourel:
http://esw.w3.org/topic/its0505ReqNamingScheme


------------------------------------------------------------------------------
  
  = Naming Scheme =
  
+ 
+ === Summary ===
+ 
+ It should be possible for translation tools to rely on a finite list of element names in a given schema.
+ 
+ 
+ === Challenge/Issue ===
+ 
+ Using documents where the elements do not follow a finite list of names may cause problem for translation tools. This is especially true if not all parts of the document are not to be translated. In that case the rules to distinguish the translatable elements from the non-translatable ones would be difficult to specify.
+ 
+ For example, the following XML excerpt is not conducive to localization because the list of elements cannot be easily codified for translation rules.
+ 
+ {{{<Ok>OK</Ok>
+ <Cancel>Cancel</Cancel>
+ <Message001>Cannot open the file.</Message001>}}}
+ 
+ 
+ === Quick Guidelines ===
+ 
+ Documents should not use elements that are dynamically created. 
+ Instead of using element names as identifiers, use an attribute to store the identifier:
+ 
+ {{{<button id="OK">OK</button>
+ <button id="cancel">Cancel</button>
+ <message id="001">Cannot open the file</message>}}}
+ 

Received on Monday, 30 May 2005 03:31:00 UTC