Bug report #4408

Validating *.qgs or *.qml against *.dtd

Added by Marco Lechner about 4 years ago. Updated about 1 month ago.

Status:Open Start Date:10/19/2011
Priority:Normal Due date:
Assigned to:- % Done:


Category:Project Loading / Saving
Target version:Future Release - Lower Priority
Platform: Patch supplied:No
Platform version: Affected version:master
Status info: Causes crash or corruption:No
Resolution: Tag:


It's not possible to validate a QGIS project or style file against the called *.dtd (http://mrcc.com/qgis.dtd). Two reasons: the URL doesn't exist and using a *.dtd from SVN always returns a "non valid". Having the possibility to validate could decrease erroneous project files. As such it's a feature wish, but as long as QGIS mentions a *.dtd not working, it's a bug.

Related issues

related to QGIS Application - Bug report #2576: reference to dtd wrong Open
duplicated by QGIS Application - Bug report #6423: Link to DTD document is broken Closed 09/27/2012


Updated by Giovanni Manghi almost 4 years ago

  • Target version set to Version 1.7.4

Updated by Paolo Cavallini over 3 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected version set to master
  • Causes crash or corruption set to No

Updated by Paolo Cavallini about 3 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

Updated by J├╝rgen Fischer over 1 year ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

Updated by Anita Graser about 1 month ago

Changing http://mrcc.com/qgis.dtd to https://github.com/qgis/QGIS/blob/master/qgis.dtd would at least fix the broken link.
The issue of updating and maintaining the .dtd remains though ...

Updated by Richard Duivenvoorde about 1 month ago

According to this text:


this dtd declaration with an url is actually optional, so another option would be to remove it from the xml?

Also available in: Atom