[PATCH] XML validity of kcfg files
frans.englich at telia.com
Thu Nov 4 11:10:42 GMT 2004
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.
> 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)
More information about the kde-core-devel