You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Janek Bogucki <ya...@studylink.com> on 2002/11/01 16:29:04 UTC

[digester] RulesBase, tail match API doc patch

This patch fixes a typo in the example tail match pattern in RulesBase.java.

-Janek

Index: RulesBase.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-commons/digester/src/java/org/apache/commons/digeste
r/RulesBase.java,v
retrieving revision 1.9
diff -u -r1.9 RulesBase.java
--- RulesBase.java    29 Oct 2002 20:17:11 -0000    1.9
+++ RulesBase.java    1 Nov 2002 15:24:11 -0000
@@ -80,7 +80,7 @@
  * <li><em>Exact Match</em> - A pattern "a/b/c" exactly matches a
  *     <code>&lt;c&gt;</code> element, nested inside a
<code>&lt;b&gt;</code>
  *     element, which is nested inside an <code>&lt;a&gt;</code>
element.</li>
- * <li><em>Tail Match</em> - A pattern "*\/a/b" matches a
+ * <li><em>Tail Match</em> - A pattern "*/a/b" matches a
  *     <code>&lt;b&gt;</code> element, nested inside an
<code>&lt;a&gt;</code>
  *      element, no matter how deeply the pair is nested.</li>
  * </ul>


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


Re: [digester] RulesBase, tail match API doc patch

Posted by Janek Bogucki <ya...@studylink.com>.
On Friday 01 November 2002  6:22 pm, robert burrell donkin wrote:
> hi Janek
>
> thanks for finding this. i've committed a fix.
>
> just FYI, your patch wouldn't work since */ means the end of the comment.
> what's needed is to use a &#42; entity.
>
> - robert

So it wasn't a typo after all!

-Janek

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


Re: [digester] RulesBase, tail match API doc patch

Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
hi Janek

thanks for finding this. i've committed a fix.

just FYI, your patch wouldn't work since */ means the end of the comment. 
what's needed is to use a &#42; entity.

- robert

On Friday, November 1, 2002, at 03:29 PM, Janek Bogucki wrote:

> This patch fixes a typo in the example tail match pattern in 
> RulesBase.java.
>
> -Janek
>
> Index: RulesBase.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-
> commons/digester/src/java/org/apache/commons/digeste
> r/RulesBase.java,v
> retrieving revision 1.9
> diff -u -r1.9 RulesBase.java
> --- RulesBase.java    29 Oct 2002 20:17:11 -0000    1.9
> +++ RulesBase.java    1 Nov 2002 15:24:11 -0000
> @@ -80,7 +80,7 @@
>   * <li><em>Exact Match</em> - A pattern "a/b/c" exactly matches a
>   *     <code>&lt;c&gt;</code> element, nested inside a
> <code>&lt;b&gt;</code>
>   *     element, which is nested inside an <code>&lt;a&gt;</code>
> element.</li>
> - * <li><em>Tail Match</em> - A pattern "*\/a/b" matches a
> + * <li><em>Tail Match</em> - A pattern "*/a/b" matches a
>   *     <code>&lt;b&gt;</code> element, nested inside an
> <code>&lt;a&gt;</code>
>   *      element, no matter how deeply the pair is nested.</li>
>   * </ul>
>
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.
> org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.
> org>
>


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