Bug report #4408

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

Added by Marco Lechner over 5 years ago. Updated 12 months 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: Pull Request or 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 - Feature request #2576: reference to dtd wrong Open 02/22/2016
duplicated by QGIS Application - Bug report #6423: Link to DTD document is broken Closed 09/27/2012


Updated by Giovanni Manghi about 5 years ago

  • Target version set to Version 1.7.4

Updated by Paolo Cavallini almost 5 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 over 4 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

Updated by J├╝rgen Fischer over 2 years ago

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

Updated by Anita Graser over 1 year 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 over 1 year 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?

Updated by Luigi Pirelli 12 months ago

we should decide to remove or update... actually the old broken link is used.

Also available in: Atom