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 2011/09/26 23:22:12 UTC

[jira] [Resolved] (JENA-124) NodeFormatterNT is not escaping characters

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

Andy Seaborne resolved JENA-124.
--------------------------------

    Resolution: Fixed
      Assignee: Andy Seaborne

Initial fix - restrict to ASCII as per N-Triples, safe but can be improved.

                
> NodeFormatterNT is not escaping characters
> ------------------------------------------
>
>                 Key: JENA-124
>                 URL: https://issues.apache.org/jira/browse/JENA-124
>             Project: Jena
>          Issue Type: Bug
>          Components: ARQ
>         Environment: *
>            Reporter: Laurent Pellegrino
>            Assignee: Andy Seaborne
>              Labels: arq, nodeformatternt, riot
>
> Original message from the mailing-list:
> http://mail-archives.apache.org/mod_mbox/incubator-jena-dev/201109.mbox/%3CCAJWYrb2ZAtDSsswF5jsKG6dhvNeYH2TrrUQRGCt27XoQLyNBhw@mail.gmail.com%3E
> Copied answer given by Andy:
> > Looks like there is a bug in BindingOutputStream - it's not escaping the
> > " in the item being output.
> So the operation is called "writeEscaped" in NodeFormatterNT ... except 
> it doesn't do any escaping.  Doh!  This is a regression due to the 
> better (in theory) node formatters.

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