[ESW Wiki] Update of "its0503ReqEntities" by ChristianLieske

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


------------------------------------------------------------------------------
  
  == Challenge/Issue ==
  
- XML applications (i.e. a combination of DTD/XSD, stylesheets, XML instances) often make use of so-called entities (see http://www.xml.com/axml/target.html#sec-physical-struct). Various types of entities exist (see [http://tech.irt.org/articles/js212/#intro]).
+ XML applications (i.e. a combination of DTD/XSD, stylesheets, XML instances) often make use of so-called entities (see http://www.xml.com/axml/target.html#sec-physical-struct). Various types of entities exist (see e.g. [www.xml.com/pub/a/98/08/xmlqna1.html]).
  
  Examples:
  
@@ -59, +59 @@

  
  == Quick Guideline Thoughts ==
  
- '''[[FS-''' I just recognized that DSDL part 10 [http://dsdl.org/0584.pdf], which Christian also mentionend in [http://esw.w3.org/topic/its0504ReqPurposeSpecMap], has a mechanism for remapping entity references. So you can say s.t. like "myCompany" should be "meineFirma". So this is a possible, yet not (?) implemented solution to issues 2 and 3. ''']]'''
- 
   1. If possible, XML applications should avoid the use of entities. 
   2. XML applications which have to make use of entities have to be build in such a way that entities can be localized easily (ie. the XML application has to be internationalized wrt. entities). A rough set of guidelines for this could look like this:
  
@@ -77, +75 @@

  
  
   3. If entities are used, the XML instances should have standalone="no" in their XML declarations (see [http://www.w3.org/TR/REC-xml/#sec-rmd]).
- 
- 
+  4. DSDL part 10 [http://dsdl.org/0584.pdf] has a mechanism for remapping entity references. So you can say s.t. like "myCompany" should be "meineFirma". So this is a possible, yet not implemented solution to issues 2 and 3.
+  
  '''[[RI''' I think we should investigate further the situation where an implementation does not read external documents such as those that contain entities.  Bjoern Herman says "Robust documents do not use "character entities" at all unless they are pre-defined in XML 1.0 or declared in the internal subset."  So should we be recommending greater use of the internal subset, and not talking of putting entity declarations in a separate file? ''']]'''
  

Received on Wednesday, 20 July 2005 13:25:36 UTC