[PATCH] XML validity of kcfg files

Frans Englich frans.englich at telia.com
Sat Nov 20 17:29:53 GMT 2004


On Saturday 20 November 2004 16:37, Benjamin Meyer wrote:
> On Saturday 20 November 2004 5:28 am, Cornelius Schumacher wrote:
> > On Saturday 20 November 2004 02:15, Benjamin Meyer wrote:
> > > When using the documetion included in the file xmllint complains
> > > about the missing dtd.
> >
> > Which documentation do you mean?
>
> If you look inside kdelibs/kdecore/kconfig_compiler/kcfg.xsd
>  it includes an example for how to make the kcfg file, but it doesnt'
> validate.

It's an example of a proper declaration, the example document then needs 
content.

>
> >"xmllint --schema kcfg.xsd yourfile.kcfg" should work. There are
> >certainly better schema validators than xmllint, though.
>
> I don't know of any other so feel free to make suggestions.

xmllint works, your problem lies elsewhere.


Cheers,

		Frans





More information about the kde-core-devel mailing list