cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Gow <c...@digitalfairway.com>
Subject Re: New LinkEncodingProcessor - Please Test
Date Fri, 08 Dec 2000 23:56:34 GMT
Hi Robin:

Found another bug...errr...typo.   in your recurse method. When looping 
through element attributes, you should really compare against the number of 
attributes for the current element (m) and not the total number of children 
elements (n).

These lines:
int m = atts.getLength ();

for (int i = 0; i < n; i++) {

Should read:
int m = atts.getLength ();

for (int i = 0; i < m; i++) {

Other than that, it works great....


Chris


Mime
View raw message