You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by zo...@apache.org on 2003/04/06 23:10:01 UTC

cvs commit: xml-xalan/java/xdocs/sources/xalan usagepatterns.xml

zongaro     2003/04/06 14:10:01

  Modified:    java/xdocs/sources/xalan usagepatterns.xml
  Log:
  Patch from Christine Li (jycli@ca.ibm.com).  Changed CharInfo so that it allows
  descriptions of entities to be specified as a properties file in addition to a
  Xalan-specific resource file format.
  
  The code previously always assumed a Xalan-specific resource file format, for
  both user-supplied descriptions of entities, and for those supplied with
  Xalan-J.  The security restrictions of applets are such that an applet that
  relies on a copy of Xalan-J in the Java run-time would find that Xalan-J would
  be unable to read the default entities file that is packaged with the JRE on
  the applet's behalf - it can only do so with a properties, via ResourceBundle.
  
  Revision  Changes    Path
  1.55      +9 -2      xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml
  
  Index: usagepatterns.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- usagepatterns.xml	2 Apr 2003 17:43:06 -0000	1.54
  +++ usagepatterns.xml	6 Apr 2003 21:10:01 -0000	1.55
  @@ -183,7 +183,14 @@
       <td>xalan:content-handler</td>
       <td>org.apache.xml.serializer.ToXMLStream</td>
     </tr>
  +  <tr>
  +    <td>xalan:entities</td>
  +    <td>XMLEntities</td>
  +  </tr>
   </table>
  +<note>You can also create your own XML entity file (mapping characters to
  +entities) or edit src/org/apache/xml/serializer/XMLEntities.properties and
  +rebuild xalan.jar.</note>
   <p><ref>output_html.properties</ref>:</p>
   <table>
     <tr>
  @@ -200,7 +207,7 @@
     </tr>
     <tr>
       <td>xalan:entities</td>
  -    <td>HTMLEntities.res</td>
  +    <td>HTMLEntities</td>
     </tr>
     <tr>
       <td>xalan:use-url-escaping</td>
  @@ -212,7 +219,7 @@
     </tr>
   </table>
   <note>You can also create your own HTML entity file (mapping characters to entities) 
  -or edit src/org/apache/xml/serializer/HTMLEntities.res and rebuild xalan.jar.</note>
  +or edit src/org/apache/xml/serializer/HTMLEntities.properties and rebuild xalan.jar.</note>
   <p><ref>output_text.properties</ref>:</p>
   <table>  
     <tr>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org