Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001738graphvizDotpublic2009-10-25 20:332011-04-28 04:03
ReporterCarolyn Talcott 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-OSX-10.5OS Version
Summary0001738: dot omits string quotes around attributes such as width=1
Description



in graphviz 2.24.0 version of dot
dot -Tdot foo.dot > foo1.dot



converts floats that are integral (such as 1.00) to integers (such as 1)
and further more omits the "" around the number as in
width=1 where 2.20 produces width="1.00"



This causes parsers that used to work on dot layout output to break.
Was there a reason for this incompatability?
Is there a fix short of going back to 2.20
which seems to have some dependency problems
on a Mac with out XCode installed.



Thanks,
Additional Information
look at node 10

[ellson]
Sorry, but thats a bug in your parser. There is no requirement in DOT for quotes around
strings that don't contain special characers (like '.' or ',')

Probably whats changed in 2.24 is that we've converted more of dot's internals to floats, so you are seeing more strings like "1.001"


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1797
INPUT-FILEhttp://www.graphviz.org/bugs/b1797.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1797a.dot [^]
STATUS-COMMENTFixed
VERSION     2.24.0
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker