xproc-engine-calabash/src/main/java/org/daisy/maven/xproc/calabash/Calabash.java
public void setDefaultConfiguration(Reader defaultConfig) {
		XProcConfiguration config = new XProcConfiguration("he", false);
		try {
			nextDefaultConfig = config.getProcessor().newDocumentBuilder()
				.build(new SAXSource(new InputSource(defaultConfig))); }
		catch (SaxonApiException e) {
			throw new RuntimeException(e); }
	}
public void setDefaultConfiguration(Reader defaultConfig) {
		XProcConfiguration config = new XProcConfiguration("he", false);
		try {
			nextDefaultConfig = config.getProcessor().newDocumentBuilder()
				.build(new SAXSource(new InputSource(defaultConfig))); }
		catch (SaxonApiException e) {
			throw new RuntimeException(e); }
	}
public void setDefaultConfiguration ( Reader defaultConfig ) { XProcConfiguration config = new XProcConfiguration ( "he" , false ) ; try { nextDefaultConfig = config . getProcessor ( ) . newDocumentBuilder ( ) . build ( new SAXSource ( new InputSource ( defaultConfig ) ) ) ; } catch ( SaxonApiException e ) { throw new RuntimeException ( e ) ; } }
Settings to be always applied
Settings to be always applied