Bug 339723

Summary: Missing DTD for kmt files
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:
Attachments: Add DTD for kmt file format
Add DTD for kmt file format

Description Ralf Habacker 2014-10-06 08:11:34 UTC
KMymoney's kmt files are xml files for which currently not dtd exists. 


Reproducible: Always
Comment 1 Ralf Habacker 2014-10-06 08:12:17 UTC
Created attachment 88994 [details]
Add DTD for kmt file format
Comment 2 Ralf Habacker 2014-10-06 21:20:10 UTC
Created attachment 89001 [details]
Add DTD for kmt file format

- add flag element
- add optional description attribute
- make type and name attribute required
Comment 3 Ralf Habacker 2014-10-06 21:23:23 UTC
After applying the patch on linux the templates could be verified against the dtd with: 
cd <kmymoney-source>/kmymoney/templates
find  -name '*.kmt' -exec xmllint --noout --dtdvalid kmt.dtd {} \;
Comment 4 Ralf Habacker 2014-10-10 14:40:56 UTC
Git commit c663519cf58ff5f40a1276b9a3f7df432af1eeb0 by Ralf Habacker.
Committed on 06/10/2014 at 08:08.
Pushed by habacker into branch 'master'.

Add DTD for kmt file format.

A  +34   -0    kmymoney/templates/kmt.dtd

http://commits.kde.org/kmymoney/c663519cf58ff5f40a1276b9a3f7df432af1eeb0