[
https://issues.jboss.org/browse/SHRINKDESC-51?page=com.atlassian.jira.plu...
]
Michal Huniewicz commented on SHRINKDESC-51:
--------------------------------------------
There is no exception, the node is created, but its value is just "omg".
Using unescaped special query characters when doing a node query with
text causes errors
----------------------------------------------------------------------------------------
Key: SHRINKDESC-51
URL:
https://issues.jboss.org/browse/SHRINKDESC-51
Project: ShrinkWrap Descriptors
Issue Type: Bug
Components: api
Affects Versions: 0.1.6
Reporter: Lincoln Baxter III
Assignee: Lincoln Baxter III
"Could not export Node strcuture to XML"
node.getOrCreate("/foo/bar=omg/with/slashes");
fails with that error. problem is parser think it means this:
"/foo/bar=omg" + "/more/nodes"
So need some way of escaping text values:
node.getOrCreate("/foo/bar=omg\\/with\\/escaped\\/slashes");
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira