Bug report #4408
Validating *.qgs or *.qml against *.dtd
Status: | Open | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | 3.6.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14340 |
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
History
#1 Updated by Giovanni Manghi almost 13 years ago
- Target version set to Version 1.7.4
#2 Updated by Paolo Cavallini over 12 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 about 12 years ago
- Target version changed from Version 1.8.0 to Version 2.0.0
#4 Updated by Jürgen Fischer over 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#5 Updated by Anita Graser about 9 years 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 about 9 years 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 over 8 years ago
we should decide to remove or update... actually the old broken link is used.
#8 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#9 Updated by Giovanni Manghi over 5 years ago
- Status changed from Open to Closed
- Resolution set to end of life
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/
#10 Updated by Alister Hood over 5 years ago
- Resolution deleted (
end of life) - Status changed from Closed to Reopened
This ticket is still valid for 3.6.
#11 Updated by Giovanni Manghi over 5 years ago
- Status changed from Reopened to Open
- Affected QGIS version changed from master to 3.6.0