Bug report #4408

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

Added by Marco Lechner over 5 years ago. Updated 23 days ago.

Status:Open
Priority:Normal
Assignee:-
Category:Project Loading/Saving
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No

Description

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

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Target version set to Version 1.7.4

#2 Updated by Paolo Cavallini about 5 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No

#3 Updated by Paolo Cavallini over 4 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#4 Updated by Jürgen Fischer almost 3 years ago

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

#5 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 ...

#6 Updated by Richard Duivenvoorde over 1 year ago

According to this text:

https://en.wikipedia.org/wiki/Document_type_definition

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

#7 Updated by Luigi Pirelli about 1 year ago

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

#8 Updated by Giovanni Manghi 23 days ago

  • Easy fix? set to No
  • Regression? set to No

Also available in: Atom PDF