Author: simonetripodi
Date: Mon Jun 20 12:45:49 2011
New Revision: 1137611

URL: http://svn.apache.org/viewvc?rev=1137611&view=rev
Log:
updated the 'include' documentation

Modified:
    commons/proper/digester/trunk/src/site/xdoc/guide/xmlrules.xml

Modified: commons/proper/digester/trunk/src/site/xdoc/guide/xmlrules.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/site/xdoc/guide/xmlrules.xml?rev=1137611&r1=1137610&r2=1137611&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/site/xdoc/guide/xmlrules.xml (original)
+++ commons/proper/digester/trunk/src/site/xdoc/guide/xmlrules.xml Mon Jun 20 
12:45:49 2011
@@ -145,7 +145,7 @@ File rules1.xml:
   <pattern value="root/foo">
     <object-create-rule classname="Foo" />
 
-    <include url="rules2.xml" />
+    <include url="classpath:/rules2.xml" />
   </pattern>
 </digester-rules>
 
@@ -163,6 +163,10 @@ File rules2.xml:
   </pattern>
 </digester-rules>
 </source>
+<p>Note that the <i>url</i> attribute accepts any valid <code>URL</code>, plus 
the the meta <code>classpath</code> URL,
+that points to a any valid resource present in the ClassPath; the 
<code>ClassLoader</code> used to load the resources
+is the same users set to resolve classes during the parse-time.</p>
+
 <p>
 Parsing <code>rule1.xml</code> would result in a <code>Digester</code> 
initialized with these
 pattern/rule pairs:</p>


Reply via email to