From kde-core-devel Thu Nov 04 11:10:42 2004 From: Frans Englich Date: Thu, 04 Nov 2004 11:10:42 +0000 To: kde-core-devel Subject: Re: [PATCH] XML validity of kcfg files Message-Id: <200411041110.43023.frans.englich () telia ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=109956624724110 On Thursday 04 November 2004 10:18, Waldo Bastian wrote: > On Thursday 04 November 2004 03:53, Benjamin Meyer wrote: > > > CVS commit by englich: > > > The XML Schema version of the DTD for the KConfigXT format. When it is > > > stable we can place a copy in www/ > > > > > > The documentation(in the file) has an example of how a proper XML > > > document declaration should look like. Then, one can validate the > > > KConfigXT file with `xmllint --noout --schema > > > kdelibs/kdecore/kconfig_compiler/kcfg.xsd foo.kcfg`. > > > > > >   A            kcfg.xsd   1.1 > > > > To go full circle with this thread I have committed a change to the test > > script to use that file (if found). > > > > What a wild thread :) > > Can the DTD be removed from CVS then? Since we still got it at the web site, and the removal only concerns those who develop, I think it's cool. I'm concerned about how much the Schema differs from the DTD. Benjamin, is there a difference in what kcfgs that fails when you run kdetestscripts with DTD and then against the Schema? I bet there is, it's just that those which are false positives should be fixed in the Schema. > It should remain on the website but I > don't think it's a good idea to have both versions in CVS. Please also > adjust the "check-local" target in the Makefile. Done. > > Can someone tell Scripty to no longer update > http://www.kde.org/standards/kcfg/1.0/kcfg.dtd ? And perhaps make it update the Schema instead? (didn't know Scripty did that) Cheers, Frans