]
Andrew Rubinger updated SHRINKDESC-51:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 1.2.0-alpha-2
Resolution: Done
Upstream:
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: Michal Huniewicz
Fix For: 1.2.0-alpha-2
"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: