Hey guys,
I am using jldap to communicate with ldap, and I get an exception when I am parsing a dsml file.
In more details, the following line of code
LDAPReader in = new DSMLReader(dsmlFile);
gives the following error
The
following error occured handling a DSML file:LDAPLocalException: The
following error occured while parsing DSML: org.xml.sax.SAXException:
Invalid beginning tag :attr (84) Decoding Error
org.xml.sax.SAXException: Invalid beginning tag :attr
when dsmlFile is
<dsml:directory-entries>
<dsml:entry dn="uid=prabbit,ou=development,o=bowstreet,c=us">
<dsml:objectclass>
<dsml:oc-value>top</dsml:oc-value>
<dsml:oc-value>person</dsml:oc-value>
<dsml:oc-value>organizationalPerson</dsml:oc-value>
<dsml:oc-value>inetOrgPerson</dsml:oc-value>
</dsml:objectclass>
<dsml:attr name="sn"><dsml:value>Rabbit</dsml:value></dsml:attr>
<dsml:attr
name="uid"><dsml:value>prabbit</dsml:value></dsml:attr>
<dsml:attr name="mail"><dsml:value>prabbit@dsml.org</dsml:value></dsml:attr>
<dsml:attr name="givenname"><dsml:value>Peter</dsml:value></dsml:attr>
<dsml:attr name="cn"><dsml:value>Peter Rabbit</dsml:value></dsml:attr>
</dsml:entry>
</dsml:directory-entries>
</dsml:dsml>
Any suggestions??
thanks
Never miss a thing.