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

XPathResult.groovy (revision 479)
21 21
// 
22 22
// 
23 23
// 
24
// $LastChangedDate: 2016-03-29 09:51:35 +0200 (Tue, 29 Mar 2016) $
25
// $LastChangedRevision: 3185 $
24
// $LastChangedDate: 2017-04-11 15:30:35 +0200 (mar. 11 avril 2017) $
25
// $LastChangedRevision: 3426 $
26 26
// $LastChangedBy: mdecorde $ 
27 27
//
28 28
package org.txm.importer;
29 29

  
30
import org.txm.importer.PersonalNamespaceContext;
30
import org.txm.importer.graal.PersonalNamespaceContext;
31 31

  
32 32
import java.io.File;
33 33
import java.io.IOException;
......
72 72
	 */
73 73
	public XPathResult(File xmlfile, boolean namespaceAware) {
74 74
		DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
75
		factory.setXIncludeAware(true);
75 76
		factory.setNamespaceAware(namespaceAware); // never forget this!
76 77
		
77 78
		DocumentBuilder builder = factory.newDocumentBuilder();

Also available in: Unified diff