Issue Details (XML | Word | Printable)

Key: DIRSTUDIO-2
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Pierre-Arnaud Marcelot
Reporter: Pierre-Arnaud Marcelot
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory Studio

The DSML Parser doesn't parse well base64 Data

Created: 27/Nov/06 03:12 PM   Updated: 08/Dec/06 11:23 AM
Return to search
Component/s: studio-dsml-parser
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 08/Dec/06 11:23 AM


 Description  « Hide
The DSML Parser doesn't parse well base64 Data. Especially in the ExtendedRequest.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pierre-Arnaud Marcelot added a comment - 06/Dec/06 03:27 PM
To specify a value as base64 encoded the following attribute must be added to the tag surrounding the value :
§ xsi:type="xsd:base64Binary" §, where xsi refers to namespace XMLSchema-Instance ( xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance" ) and xsd to namespace XMLSchema ( xmlns:xsd="http://www.w3c.org/2001/XMLSchema" ).

Base64 encoded values can be found in the following tags :
- <initial>, <any>, <final> of a Substrings Filter
- <value> in a ExtensibleMatch Filter
- <value> in a EqualityMatch Filter, GreaterOrEqual Filter, LessOrEqual Filter, ApproxMatch Filter
- <value> in a <assertion> tag in a CompareRequest
- <value> in a <attr> tag in SearchResultEntry and AddRequest
- <value> in a <modification> tag in ModifyRequest


Pierre-Arnaud Marcelot added a comment - 06/Dec/06 03:29 PM
I forgot to add another one :
- <controlValue> in a Control

Pierre-Arnaud Marcelot added a comment - 06/Dec/06 04:34 PM
Base64 values are now supported in the <controlValue> tag in Control elements.
SVN commit 483139.

Pierre-Arnaud Marcelot added a comment - 08/Dec/06 11:23 AM
Base64 encoded values are now supported in the following tags :
- <initial>, <any>, <final> of a Substrings Filter
- <value> in a ExtensibleMatch Filter
- <value> in a EqualityMatch Filter, GreaterOrEqual Filter, LessOrEqual Filter, ApproxMatch Filter
- <value> in a <assertion> tag in a CompareRequest
- <value> in a <attr> tag in SearchResultEntry and AddRequest
- <value> in a <modification> tag in ModifyRequest.

Fixed at SVN commit 483930.

Pierre-Arnaud Marcelot added a comment - 08/Dec/06 11:23 AM
Closed.