After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711418 - Comment in XML prevents file from loading
Comment in XML prevents file from loading
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.97.x
Other All
: Normal normal
: 0.97.3
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-04 15:34 UTC by William Gallafent
Modified: 2014-03-08 12:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Gallafent 2013-11-04 15:34:48 UTC
http://www.bugzilla.org/docs/4.4/en/images/bzLifecycle.xml is a valid XML file containing a Dia diagram.

Attempting to load it using Dia 0.97.2 leads to a “Not a Dia file” error.

Modifying the file by manually removing the comment at the top renders the file loadable by Dia.

It appears that Dia is not able to parse XML input files containing comments.
Comment 2 Hans Breuer 2014-03-08 12:16:41 UTC
cherry-picked to dia-0-97 branch
https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=0b4ce87d265870af1df0209c948be3f45082da19