| Summary: | [dot4zest] DotGraph file parsing error | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | wondawg3 |
| Component: | GEF-Legacy Zest | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | steeg |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Thanks for your report. The issue is the file extension, which has to be "dot". I've added a clearer error message in master (see TestDotAst#extensionError). Great!! It works with .dot file extension. Thanks for your help. |
Build Identifier: 20110615-0604 Whenever I pass a graph file into DotGraph constructor, the XML parser gives the following error message. File file = new File("./sample.graph"); DotGraph graph = new DotGraph(file, parent, SWT.NONE); > org.xml.sax.SAXParseException: Content is not allowed in prolog. It works properly when I use the plain string variable containing the exact same contents as the graph file, so I guess the contents of the file are valid. Thx, Reproducible: Always Steps to Reproduce: 1. Pass a graph file into DotGraph() constructor. 2. 3.