W3C home > Mailing lists > Public > public-i18n-its@w3.org > April to June 2005

[ESW Wiki] Update of "its0503ReqEntities" by AndrzejZydron

From: <w3t-archive+esw-wiki@w3.org>
Date: Sun, 17 Apr 2005 10:03:24 -0000
To: w3t-archive+esw-wiki@w3.org
Message-ID: <20050417100324.7914.90362@swada.w3.org>
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 AndrzejZydron:
http://esw.w3.org/topic/its0503ReqEntities


------------------------------------------------------------------------------
  Following on from the previous node one can also make the following recommendations:
  
  1. User defined entities should never be used within #PCDATA - the text content of an element. The reasons for this have been outlined above.
+ 
  2. User defined enitities CAN be useful for the creation of boilerplate text. In this, and only this instance they can be very beneficial.
  
- In this instance the boilerplate text is held by Locale, so that depending on the target language the appropriate text is selected. Boiler plate text by its very nature is used for headings etc. and is linguistically complete - it stands alone and does not rely on any surrounding context. The boiler plate entities are only ever used within attributes. The composition process uses the attribute values to display the appropriate target language text: 
+ The boilerplate text is held by Locale, so that depending on the target language the appropriate text is selected. Boiler plate text by its very nature is used for headings etc. and is linguistically complete - it stands alone and does not rely on any surrounding context. The boiler plate entities are only ever used within attributes. The composition process uses the attribute values to display the appropriate target language text: 
  
  e.g.
  
@@ -106, +107 @@

  <!ENTITY % cals PUBLIC "-//XML-INTL//ELEMENTS CALS Table XML//EN" "cals-xml.elm">
  
  %conf;
+ 
  %bp;
+ 
  %cals;
  
  ------------------------------------------------------------------
Received on Sunday, 17 April 2005 10:03:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:44 GMT