Skip Menu |

This queue is for tickets about the Graph-ReadWrite CPAN distribution.

Report information
The Basics
Id: 104647
Status: new
Priority: 0/
Queue: Graph-ReadWrite

Owner: Nobody in particular
Requestors: user42_kevin [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Graph::Writer::Dot round-trip of graph name with spaces
Date: Sun, 24 May 2015 15:54:49 +1000
To: bug-Graph-ReadWrite [...]
From: Kevin Ryde <user42_kevin [...]>
Download (untitled) / with headers
text/plain 973b
In Graph-ReadWrite 2.07 on recent debian i386 perl 5.20.2, if Graph::Reader::Dot reads a like below which has a space in the graph name then the output of Graph::Writer::Dot does not re-write the necessary quotes around the name. For example and below gives one-two digraph Hello World { /* list of nodes */ "one"; "two"; /* list of edges */ "one" -> "two"; } $_[0]->YYCurtok ID $_[0]->YYCurval World @$_[0]->YYExpect { $_[0]->YYLexer CODE(0x8a40e6c) substr($_[0]->YYData->{INPUT},0,21) ... Syntax error. where I hoped a Reader -> Writer -> Reader round-trip would succeed. The string quoting at says literal " as \" too, if that would be a shared subroutine for vertex etc too. Not sure if Graph::Reader::Dot decodes \" as such, but if the attributes are used by others than could be any string in the name.
text/x-perl 356b

Message body is not shown because sender requested not to inline it.

text/plain 63b

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to