cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rano, Didier" <Didier.R...@fr.michelin.com>
Subject Bug in LDAPTransformer
Date Thu, 05 Dec 2002 10:45:45 GMT


Hello,

I am a Cocoon beginner, and I need to user LDAPTransformer. But, I have seen a
mistake in this node:

In inner class LDAPQuery, method execute(), before:

if (showAttribute) {
    transformer.start(attrID, attr);
}                               
String attrVal = (String)vals.nextElement();
...
if (showAttribute) {
    transformer.end(attrID);
}

After:

while( vals.hasMoreElements()) {

if (showAttribute) {
    transformer.start(attrID, attr);
}                               
String attrVal = (String)vals.nextElement();
...
if (showAttribute) {
    transformer.end(attrID);
}

}

vals is an Enumeration, and some values don't display if this loop doesn't
exists.

Thank you to valid this change, or explain my error.

Didier Rano
Serv'N Data

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message