commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-1019) StringEscapeUtils.escapeXPath()
Date Sun, 29 Jun 2014 19:03:24 GMT

     [ https://issues.apache.org/jira/browse/LANG-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter updated LANG-1019:
----------------------------------

    Fix Version/s: Discussion

> StringEscapeUtils.escapeXPath()
> -------------------------------
>
>                 Key: LANG-1019
>                 URL: https://issues.apache.org/jira/browse/LANG-1019
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.3.2
>            Reporter: Yegor Bugayenko
>             Fix For: Discussion
>
>
> Would be great to create a method that would escape a string for XPath. It is a well
known problem that XPath doesn't have a mechanism for quotes escaping. See for example http://stackoverflow.com/questions/14822153/escape-single-quote-in-xpath-with-nokogiri
> A very good workaround suggested here https://bugs.php.net/bug.php?id=51785
> Would be great to add a method to StringEscapeUtils



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message