[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 14:00: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: Resolved  (was: Pull Request Sent)
    Fix Version/s: 1.2.0-alpha-2
       Resolution: Done


Upstream: https://github.com/shrinkwrap/descriptors/commit/b12a8c83ce3ea886d7220a0fcf44af2f0ec85746

> 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: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list