Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/transcriber/importer.groovy

importer.groovy (revision 479)
125 125
			TRSToTEI p = new TRSToTEI(infile);
126 126
			if (!p.process(outfile)) {
127 127
				println "Error while converting TRS to TEI: "+infile
128
				return false;
128
				//return false;
129 129
			}
130 130
		}
131 131
		println ""
......
254 254
		//inject metadatas into 	
255 255
		this.infile = infile;
256 256
		this.outfile = outfile;
257
		def builder = DocumentBuilderFactory.newInstance().newDocumentBuilder()
257
		def factory = DocumentBuilderFactory.newInstance()
258
		factory.setXIncludeAware(true);
259
		def builder = factory.newDocumentBuilder()
258 260
		doc = builder.parse(infile)
259 261
		insert(trans.get("trans"), metas);
260 262
		return save();

Also available in: Unified diff