You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/01 11:18:58 UTC

[jira] [Resolved] (JENA-207) FmtUtils.stringForNode() does not escape tab characters

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

Andy Seaborne resolved JENA-207.
--------------------------------

    Resolution: Fixed
      Assignee: Andy Seaborne

Applied and committed - thanks.
                
> FmtUtils.stringForNode() does not escape tab characters
> -------------------------------------------------------
>
>                 Key: JENA-207
>                 URL: https://issues.apache.org/jira/browse/JENA-207
>             Project: Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.0
>            Reporter: Rob Vesse
>            Assignee: Andy Seaborne
>             Fix For: ARQ 2.9.1
>
>         Attachments: FmtUtilsTabEscaping.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> FmtUtils.stringForNode() delegates literal formatting to FmtUtils.stringForLiteral() which delegates string escaping to stringEsc()
> The issue is that the whitespace escaping section has code to deal with escaping tab characters but has a logical flaw which means tab characters won't hit that code path, the if statement surrounding the white space escapes section checks for the other kinds of whitespace characters but not for tab

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira