Commit d8c2cf12 authored by npedot's avatar npedot
Browse files

adds .xml extension to db file name in transformation applicability

parent d455476b
......@@ -71,7 +71,7 @@ class TransformerXUseCase(
var xPathProperties = File(decoXPathsFilePath).readLines()
if (db.name.isEmpty()) return Applicability(false,"db name empty", transformerParams)
val dbFilePath = workingDir + db.name
val dbFilePath = workingDir + db.name + ".xml"
if (!File(dbFilePath).isFile) return Applicability(false,"db name ${dbFilePath} not exists", transformerParams)
val failuresOrXPathProperties = checkRequiredParams(xPathProperties, transformerParams)
......@@ -124,7 +124,7 @@ class TransformerXUseCase(
var xPathProperties = File(coXPathsFilePath).readLines()
if (db.name.isEmpty()) return Applicability(false,"db name empty", transformerParams)
val dbFilePath = workingDir + db.name
val dbFilePath = workingDir + db.name + ".xml"
if (!File(dbFilePath).isFile) return Applicability(false,"db name ${dbFilePath} not exists", transformerParams)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment