I've been playing with DSMLWriter.java, and it's reasonably buggy :-) It uses the wrong tags for objectclasses in entries, some of the attributes lose their closing quote mark, and so on. It also doesn't support writing all the tags necessary to make proper DSML (particularly the <directory-entries> tags.) I fixed all of that, and made enhancements to LDAPWriter.java, the base class, to support the fixes. I've attached a ZIP of both of my modified files, seeing as a diff would be a reasonably complex thing, you may want to take only a subset of the changes, and so on. I don't personally need this fixed - I'm just giving it to you in the hope that it's useful :-) I assume you might want it fixed... Gerv
Thanks! Reassigning to Miodrag (Java LDAP SDK lead)
Changed status to assigned.
Er... hello? Is there any possibility of getting this patch checked in? It's now more than _six_ months old, and it's not as if the relevant files are under active development. The DSMLWriter.java in the tree does not work, even vaguely, and has not since it was originally checked in in 1999. It uses the wrong tags in several places, for a start. Gerv
miodrag: ping? Gerv
mcs: do you own this code these days? Gerv
No, Erhyuan Tsai does. Let me find out what his current bugzilla ID is (I could not find him using the "take a guess and use a partial match" approach; he is another ex-Netscape person).
Mark: his Bugzilla ID appears to be firstname.lastname@example.org. Gerv
Reassign LDAP JDK bugs owned by Miodrag (email@example.com) to E-Y (firstname.lastname@example.org)