summaryrefslogtreecommitdiffstats
path: root/app-text/jing/files/build-patch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jing/files/build-patch.diff')
-rw-r--r--app-text/jing/files/build-patch.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/jing/files/build-patch.diff b/app-text/jing/files/build-patch.diff
new file mode 100644
index 0000000..f60d9af
--- /dev/null
+++ b/app-text/jing/files/build-patch.diff
@@ -0,0 +1,23 @@
+diff -uprN src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java
+--- src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:12:02.231733296 +0100
++++ src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:11:40.888977888 +0100
+@@ -1,6 +1,6 @@
+ package com.thaiopensource.validate.schematron;
+
+-import com.icl.saxon.TransformerFactoryImpl;
++import net.sf.saxon.TransformerFactoryImpl;
+
+ import javax.xml.transform.TransformerFactory;
+
+diff -uprN src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java
+--- src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:12:02.230733448 +0100
++++ src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:11:40.886978192 +0100
+@@ -85,7 +85,7 @@ class SchemaReaderImpl implements Schema
+ private void initTransformerFactory(TransformerFactory factory) {
+ String name = factory.getClass().getName();
+ try {
+- if (name.equals("com.icl.saxon.TransformerFactoryImpl"))
++ if (name.equals("net.sf.saxon.TransformerFactoryImpl"))
+ factory.setAttribute("http://icl.com/saxon/feature/linenumbering",
+ Boolean.TRUE);
+ else if (name.equals("org.apache.xalan.processor.TransformerFactoryImpl")) {