Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000298graphvizOther toolspublic2003-10-23 00:002011-04-28 04:02
ReporterColin Woodford 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSun Blade 100/Solaris/2.8OS Version
Summary0000298: The use of unflatten removes quotes around labels "Graph" and "Edge" leading to parse errors from dot.
Description






The use of unflatten removes quotes around labels "Graph" and "Edge" leading to parse errors from dot.
<CD>
# Input file with Graph, graph, Edge and edge labels.
$ cat /tmp/b
digraph test {
    Graph [URL="Graph.html", label="Graph"];
    graph [URL="graph.html", label="graph"];
    Edge [URL="Edge.html", label="Edge"];
    edge [URL="edge.html", label="edge"];
}



# Removed quotes for Graph and Edge labels, unchanged for graph and edge labels
$ cat /tmp/b | unflatten
digraph test {
    graph [URL="graph.html",
        label="graph"
    ];
    edge [URL="edge.html",
        label="edge"
    ];
    Graph [URL="Graph.html",
        label=Graph];
    Edge [URL="Edge.html",
        label=Edge];
}



# Leads to parse error when processed by dot
$ cat /tmp/b | unflatten | dot -Tsvg -o /tmp/b.svg
<stdin>:9: parse error near line 9
context: >>> label=Graph <<< ];
  
Steps To Reproduce


digraph test {
    Graph [URL="Graph.html", label="Graph"];
    graph [URL="graph.html", label="graph"];
    Edge [URL="Edge.html", label="Edge"];
    edge [URL="edge.html", label="edge"];
}

# Removed quotes for Graph and Edge labels, unchanged for graph and edge labels
$ cat /tmp/b | unflatten
digraph test {
    graph [URL="graph.html",
        label="graph"
    ];
    edge [URL="edge.html",
        label="edge"
    ];
    Graph [URL="Graph.html",
        label=Graph];
    Edge [URL="Edge.html",
        label=Edge];
}
</CD>

Additional Information
Can workaround by using different labels, problem may also exist for "NodeId" label.

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT       Can workaround by using different labels
FORMER-ID369
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (23 October 2003)
VERSION   1.9
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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