You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by cr...@apache.org on 2002/12/16 03:25:14 UTC

cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester package.html

craigmcc    2002/12/15 18:25:14

  Modified:    digester/src/java/org/apache/commons/digester package.html
  Log:
  Correct the example of registering a classloader-loaded resource for a DTD.
  
  PR: Bugzilla #14211
  Submitted by:	ekyu at asgnet.psc.sc.edu
  
  Revision  Changes    Path
  1.17      +2 -1      jakarta-commons/digester/src/java/org/apache/commons/digester/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/package.html,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- package.html	2 Oct 2002 20:27:17 -0000	1.16
  +++ package.html	16 Dec 2002 02:25:14 -0000	1.17
  @@ -192,9 +192,10 @@
   connected sites (because it avoids the need to go across the network).</p>
   
   <pre>
  +    URL url = new URL("/org/apache/struts/resources/struts-config_1_0.dtd");
       digester.register
         ("-//Apache Software Foundation//DTD Struts Configuration 1.0//EN",
  -       "/org/apache/struts/resources/struts-config_1_0.dtd");
  +       url.toString());
   </pre>
   
   <p>As a side note, the system identifier used in this example is the path
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>