Issue #76 has been updated by Clément OUDOT.

Status changed from New to Closed
Assigned to set to Clément OUDOT
% Done changed from 0 to 100

This is now good in LSC 2.0. As we have XML, the backslash must be escaped by 
another backslash, but that the good behavior.

For example:
<pre>
        <dataset>
          <name>homeDirectory</name>
          <forceValues>
            <string>'\\\\server\\dir'</string>
          </forceValues>
        </dataset>
</pre>
----------------------------------------
Bug #76: Antislahes are eaten by the rhino
http://tools.lsc-project.org/issues/76

Author: Clément OUDOT
Status: Closed
Priority: Normal
Assigned to: Clément OUDOT
Category: Core
Target version: 2.0
Problem in version: 


Hello,

I have to put a value in an attribute, and this value contains "\". To be 
clearer, I try to populate the homeDirectory attribute with for example 
"\\server\dir\".

To get the correct string in dst directory, I have to write:

<pre>
lsc.syncoptions.taskname.homeDirectory.create_value = 
'\\\\\\\\server\\\\dir\\\\'
</pre>

Ugly, no?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to