Apache Directory Project - [jira] Commented: (DIRSTUDIO-15) In a DSML Response, the DSML

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > December 2006 > [jira] Commented: (DIRSTUDIO-15) In a DSML Response, the DSML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRSTUDIO-15) In a DSML Response, the DSML
Pierre-Arnaud Marcelot (JIRA)

2006-12-11, 1:11 pm

[ http://issues.apache.org/jira/brows...3Dcomments#act=
ion_12457380 ]=20
=20
Pierre-Arnaud Marcelot commented on DIRSTUDIO-15:
-------------------------------------------------

Referring to the DSMLv2 specifications, Base64 values can only be found in =
:
o a <response> tag in an ExtendedResponse,
o a <value> tag in a SearchResultEntry.

> In a DSML Response, the DSML writer should encode values in Base64 when n=

eeded
> -------------------------------------------------------------------------=

-----
>
> Key: DIRSTUDIO-15
> URL: http://issues.apache.org/jira/browse/DIRSTUDIO-15
> Project: Directory LDAP Studio
> Issue Type: Bug
> Components: ldapstudio-dsml-parser
> Reporter: Pierre-Arnaud Marcelot
> Assigned To: Pierre-Arnaud Marcelot
>
> In a DSML Response, the DSML writer should encode values in Base64 when n=

eeded.
> For example, this generated DSML is wrong, since it contains "=C3=A9". Th=

e whole value of the attribute should have been encoded as Base64.
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <batchResponse>
> <searchResponse>
> <searchResultEntry dn=3D"cn=3Delecharny,dc=3Dexample,dc=3Dcom">
> <attr name=3D"objectclass">
> <value>person</value>
> <value>organizationalPerson</value>
> <value>top</value>
> </attr>
> <attr name=3D"sn">
> <value>L=C3=A9charny</value>
> </attr>
> <attr name=3D"cn">
> <value>elecharny</value>
> </attr>
> </searchResultEntry>
> <searchResultDone>
> <resultCode code=3D"0" descr=3D"success"/>
> </searchResultDone>
> </searchResponse>
> </batchResponse>


--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com