You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dive

Beginner

  • "dive" started this thread

Posts: 1

Location: Russia, Saint-Petersburg

Occupation: j2me programmer

  • Send private message

1

Thursday, October 11th 2007, 1:31pm

kdm: validating xml theme file

hi all.

some questions about kdm theme load and validate.
at all xml file of theme there is a string:

Source code

1
 <!DOCTYPE greeter SYSTEM "greeter.dtd">
for validating xml before parsing. but where i can get this dtd?

at kdmthemer.cpp it's just:

Source code

1
 if (domTree.setContent ( &theme_xml_file ))...

QDomDocument::setContent only parse doc, without validation.
kdm doesn't use a validation for this xml files?
only parse for according xml file standart at all?

thanx for answers.