⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (708 Bytes)
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
);
}
}
« Previous
1
2
3
4
Next »
(2-2/4)
Loading...