Hey guys, I am using jldap to communicate with ldap, adn I get a 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-valuetop</dsml:oc-value> dsml:oc-valueperson</dsml:oc-value> dsml:oc-valueorganizationalPerson</dsml:oc-value> dsml:oc-valueinetOrgPerson</dsml:oc-value> </dsml:objectclass> <dsml:attr name="sn">dsml:valueRabbit</dsml:value></dsml:attr> <dsml:attr name="uid">dsml:valueprabbit</dsml:value></dsml:attr> <dsml:attr name="mail">dsml:valueprabbit@dsml.org</dsml:value></dsml:attr> <dsml:attr name="givenname">dsml:valuePeter</dsml:value></dsml:attr> <dsml:attr name="cn">dsml:valuePeter Rabbit</dsml:value></dsml:attr> </dsml:entry> </dsml:directory-entries>
Any suggestions?? thanks
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ