You are not logged in.

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.