Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Hugo,
As far as I know, it's impossible to specify the relative path to a XSD file in schemaLocation. Only the full path is possible:
xsi:schemaLocation="file:///C:/path/foo.xsd">
I can suggest you another way, you can use TestComplete's ValidateXMLbyXSD script extension - you need to pass the paths to the XML and XSD files to it, and the script validates the file. Refer to the "Validate an XML File by its XSD Scheme" article for details.