diff --git a/tests/xml/ocaf_xml/begin b/tests/xml/ocaf_xml/begin index ff0618f5bf..dc553b8a28 100755 --- a/tests/xml/ocaf_xml/begin +++ b/tests/xml/ocaf_xml/begin @@ -1,4 +1,4 @@ -set SchemaFile [locate_data_file XmlOcaf.xsd] +set SchemaFile [file join $env(CASROOT) src XmlOcafResource XmlOcaf.xsd] set FileSuffix "xml" # Create a new document and set UndoLimit diff --git a/tests/xml/xcaf_xml/begin b/tests/xml/xcaf_xml/begin index b485d9f908..4279c686e6 100755 --- a/tests/xml/xcaf_xml/begin +++ b/tests/xml/xcaf_xml/begin @@ -1,4 +1,4 @@ -set SchemaFile [locate_data_file XmlXcaf.xsd] +set SchemaFile [file join $env(CASROOT) src XmlOcafResource XmlXcaf.xsd] pload XDE set FileSuffix "xml"