Share

OWL API

Tracker: Bugs

5 TurtleRenderer.writeStringLiteral does not handle quotes - ID: 2884738
Last Update: Settings changed ( matthewhorridge )

TurtleRenderer.writeStringLiteral handles input strings with double quotes
(") the wrong way: quotes are not properly escaped.

The case of a single quote occurrence can be fixed by changing line 213
into

if (literal.indexOf('\n') != -1 || literal.indexOf('"') != -1) {

However, this does not account for the case when there are multiple quotes
in succession, so an additional fix would be required.


Ruben Verborgh ( rubenverborgh ) - 2009-10-23 14:39

5

Closed

Fixed

Matthew Horridge

None

None

Public


Comment ( 1 )

Date: 2009-12-16 13:34
Sender: matthewhorridgeProject Admin

Works in the trunk of 3.0.0


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
close_date - 2009-12-16 13:34 matthewhorridge
resolution_id None 2009-12-16 13:34 matthewhorridge
status_id Open 2009-12-16 13:34 matthewhorridge
assigned_to nobody 2009-10-24 16:22 matthewhorridge