[shrinkwrap-issues] [JBoss JIRA] Commented: (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 Aug 25 16:05:17 EDT 2011


    [ https://issues.jboss.org/browse/SHRINKDESC-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624149#comment-12624149 ] 

Andrew Rubinger commented on SHRINKDESC-51:
-------------------------------------------

A simple test case on the SPI module should be able to assert if this case is still present.

> 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

        


More information about the shrinkwrap-issues mailing list