Project

Profile

Help

New problem with saxon-he 9.7.0-1 java. Worked in previou... » TestCase.java

java test case - John Francis, 2016-01-12 14:53

 
package uk.co.his.test.cf.junit.tracs.ae1130;

import java.io.File;

import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.stream.StreamSource;

import org.junit.Test;

public class TestCase {

private static final File includesInsertionTransform = new File("files/ae1130/InsertIncludesAndImports.xsl");
@Test
public void test1() throws TransformerConfigurationException {
StreamSource s = new StreamSource(includesInsertionTransform);
TransformerFactory transformFactory = TransformerFactory.newInstance("net.sf.saxon.TransformerFactoryImpl", null);
transformFactory.newTemplates(s);
}

}
(2-2/4)