Paul -

Hope this reply is still relevant to you - I've been off-line for a couple
of weeks.

> I know that I could use an LDAP query to retrieve a search result set,
> and then use XSP to grab the tag names instead of the values
> themselves, but it appears that the LDAP tablib will not return an
> empty tagset for optional attributes that are not defined.

This is actually LDAP server behaviour - nothing to do with the taglib.  The
LDAP spec requires that only attributes with content be returned from a
search.
 
> What is the best way to go about retrieving the schema from an LDAP
> server?

It really depends on how/if the server implements schema searching!  If it's
a V3 compliant server, you should be able to perform a search for the schema
in one of a couple of ways.  Have a look at RFC2251 and related documents
for details, or any good LDAP programming book!

I've got adding specific schema support on my list for the taglib, but the
priority isn't all that high at present.



Regards,


Tim Bentley
Computer Associates
Senior Software Engineer, eTrust Directory Development Lab.
tel: +61 3 9727-8930
fax: +61 3 9727 3491
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to