lispercat / sailpoint-iiq-dev-accelerator

VSCode extension to accelerate and facilitate development by directly interacting with the target Sailpoint IIQ server
MIT License
30 stars 11 forks source link

Reverse Tokenization Not Replacing Text in Element Nodes with Tokens #63

Open jbferguson85 opened 11 months ago

jbferguson85 commented 11 months ago

When using reverse tokenization, an XPath selector such as:

%%USE_TLS%%=/Application[@name='Active Directory']/Attributes/Map//entry[@key='useTLSForIQService']/value/Boolean

and a *.target.properties value such as:

%%USE_TLS%%=true

, the extension fails to replace the text value of this node with a token. There are no errors or warnings that occur. The expected output should be:

<entry key="useTLSForIQService">
    <value>
       <Boolean>%%USE_TLS%%</Boolean>
    </value>
 </entry>

But the actual output is:

<entry key="useTLSForIQService">
    <value>
       <Boolean>true</Boolean>
    </value>
 </entry>