Toolbar Icons in gideon's QEditor - fixed

Simon Hausmann hausmann at kde.org
Mon Jan 20 20:56:02 UTC 2003


On Mon, Jan 20, 2003 at 08:28:32PM +0100, Milo Hoffman wrote:
> I CC'ed also David Faure and Simon Hausmann (authors of the XML-GUI Builder) 
> for discussing this suggestion:
> Considering how much time Falk and me (and probably others) spent on this 
> issue, we should add a validation call (via xmllint) prior to installing the 
> .rc-file.

Excellent idea!

> I could imagine doing this by renaming xxxui.rc to xxxui.rc.src and adding a 
> rule to make, that would copy the xxxui.rc.src to xxxui.rc after/if it 
> verified that the .rc.src file is valid XML.

Why the additional level of indirection? After all we just want to
check if the file is valid, not change the content. Sounds easiest
to me to just call xmllint with the appropriate arguments (Makefile
target generated with am_edit) and abort the build if validation
fails.

Simon




More information about the KDevelop-devel mailing list