You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2006/12/08 14:34:21 UTC
[jira] Created: (DIRSTUDIO-15) In a DSML Response, the DSML writer
should encode values in Base64 when needed
In a DSML Response, the DSML writer should encode values in Base64 when needed
------------------------------------------------------------------------------
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 needed.
For example, this generated DSML is wrong, since it contains "é". The whole value of the attribute should have been encoded as Base64.
<?xml version="1.0" encoding="UTF-8"?>
<batchResponse>
<searchResponse>
<searchResultEntry dn="cn=elecharny,dc=example,dc=com">
<attr name="objectclass">
<value>person</value>
<value>organizationalPerson</value>
<value>top</value>
</attr>
<attr name="sn">
<value>Lécharny</value>
</attr>
<attr name="cn">
<value>elecharny</value>
</attr>
</searchResultEntry>
<searchResultDone>
<resultCode code="0" descr="success"/>
</searchResultDone>
</searchResponse>
</batchResponse>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (DIRSTUDIO-15) In a DSML Response, the DSML writer
should encode values in Base64 when needed
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRSTUDIO-15?page=all ]
Pierre-Arnaud Marcelot resolved DIRSTUDIO-15.
---------------------------------------------
Resolution: Fixed
Resolved at SVN commit r486074.
> In a DSML Response, the DSML writer should encode values in Base64 when needed
> ------------------------------------------------------------------------------
>
> 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 needed.
> For example, this generated DSML is wrong, since it contains "é". The whole value of the attribute should have been encoded as Base64.
> <?xml version="1.0" encoding="UTF-8"?>
> <batchResponse>
> <searchResponse>
> <searchResultEntry dn="cn=elecharny,dc=example,dc=com">
> <attr name="objectclass">
> <value>person</value>
> <value>organizationalPerson</value>
> <value>top</value>
> </attr>
> <attr name="sn">
> <value>Lécharny</value>
> </attr>
> <attr name="cn">
> <value>elecharny</value>
> </attr>
> </searchResultEntry>
> <searchResultDone>
> <resultCode code="0" descr="success"/>
> </searchResultDone>
> </searchResponse>
> </batchResponse>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (DIRSTUDIO-15) In a DSML Response, the DSML writer
should encode values in Base64 when needed
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRSTUDIO-15?page=all ]
Pierre-Arnaud Marcelot closed DIRSTUDIO-15.
-------------------------------------------
Closed
> In a DSML Response, the DSML writer should encode values in Base64 when needed
> ------------------------------------------------------------------------------
>
> 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 needed.
> For example, this generated DSML is wrong, since it contains "é". The whole value of the attribute should have been encoded as Base64.
> <?xml version="1.0" encoding="UTF-8"?>
> <batchResponse>
> <searchResponse>
> <searchResultEntry dn="cn=elecharny,dc=example,dc=com">
> <attr name="objectclass">
> <value>person</value>
> <value>organizationalPerson</value>
> <value>top</value>
> </attr>
> <attr name="sn">
> <value>Lécharny</value>
> </attr>
> <attr name="cn">
> <value>elecharny</value>
> </attr>
> </searchResultEntry>
> <searchResultDone>
> <resultCode code="0" descr="success"/>
> </searchResultDone>
> </searchResponse>
> </batchResponse>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DIRSTUDIO-15) In a DSML Response, the DSML
writer should encode values in Base64 when needed
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRSTUDIO-15?page=comments#action_12457380 ]
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 needed
> ------------------------------------------------------------------------------
>
> 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 needed.
> For example, this generated DSML is wrong, since it contains "é". The whole value of the attribute should have been encoded as Base64.
> <?xml version="1.0" encoding="UTF-8"?>
> <batchResponse>
> <searchResponse>
> <searchResultEntry dn="cn=elecharny,dc=example,dc=com">
> <attr name="objectclass">
> <value>person</value>
> <value>organizationalPerson</value>
> <value>top</value>
> </attr>
> <attr name="sn">
> <value>Lécharny</value>
> </attr>
> <attr name="cn">
> <value>elecharny</value>
> </attr>
> </searchResultEntry>
> <searchResultDone>
> <resultCode code="0" descr="success"/>
> </searchResultDone>
> </searchResponse>
> </batchResponse>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira