[shrinkwrap-issues] [JBoss JIRA] Updated: (SHRINKDESC-51) Using unescaped special query characters when doing a node query with text causes errors

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu Sep 15 13:56:26 EDT 2011


     [ https://issues.jboss.org/browse/SHRINKDESC-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger updated SHRINKDESC-51:
--------------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/shrinkwrap/descriptors/pull/49


> 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
>
> "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

        


More information about the shrinkwrap-issues mailing list