Letting the xmlpatternsvalidator tool properly handle relative paths
commit79ef57eeb4585122c91093d9638bcbd0f4c3568c
authorJoão Abecasis <joao@abecasis.name>
Thu, 17 Sep 2009 12:50:31 +0000 (17 14:50 +0200)
committerJoão Abecasis <joao@abecasis.name>
Mon, 21 Sep 2009 15:04:42 +0000 (21 17:04 +0200)
tree85bae17f61b345aff1fbd2f8b60ed4066a5a2fcb
parentdd3a5c4558cf9398b8560cd8cded3e51963990e9
Letting the xmlpatternsvalidator tool properly handle relative paths

Since QXmlSchemaValidator resolves relative paths against the executable
location, we use QUrl::fromLocalFile before passing them along.

This is a more typical behavior for command-line applications and fixes
the autotest.

Reviewed-by: Frans Englich
tools/xmlpatternsvalidator/main.cpp