summaryrefslogtreecommitdiffstats
path: root/test/src/test-w3c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-w3c.cpp')
-rw-r--r--test/src/test-w3c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/test-w3c.cpp b/test/src/test-w3c.cpp
index 4060ef0..65b56dd 100644
--- a/test/src/test-w3c.cpp
+++ b/test/src/test-w3c.cpp
@@ -196,7 +196,7 @@ int main(int argc, char** argv) {
if (withFlattening) {
Interpreter flatInterpreter = Interpreter::fromURI(documentURI);
interpreter = Interpreter::fromDOM(ChartToFSM::flatten(flatInterpreter).getDocument(), flatInterpreter.getNameSpaceInfo());
- interpreter.setNameSpaceInfo(interpreter.getNameSpaceInfo());
+ interpreter.setSourceURI(flatInterpreter.getSourceURI());
} else {
interpreter = Interpreter::fromURI(documentURI);
}