Blob Blame History Raw
Index: test/saxon.xsl
===================================================================
--- test/saxon.xsl	(revision 2353)
+++ test/saxon.xsl	(working copy)
@@ -1,8 +1,8 @@
 <?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
+<xsl:stylesheet version="1.1"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:saxon="http://icl.com/saxon"
-  extension-element-prefixes="saxon">
+  xmlns:xalan="http://xml.apache.org/xalan"
+  extension-element-prefixes="xalan">
 
 <xsl:output method="text"/>
 
@@ -10,21 +10,21 @@
   <xsl:variable name="prepped">
     <xsl:apply-templates select="*"/>
   </xsl:variable>
-  <xsl:apply-templates select="saxon:node-set($prepped)/documents/*" mode="output"/>
+  <xsl:apply-templates select="xalan:nodeset($prepped)/documents/*" mode="output"/>
 </xsl:template>
 
 <xsl:template match="document" mode="output">
-  <saxon:output href="{@href}" method="{@method}">
+  <xsl:document href="{@href}" method="{@method}">
     <xsl:if test="@dtd">
       <xsl:value-of select="@dtd" disable-output-escaping="yes"/>
     </xsl:if>
     <xsl:copy-of select="node()"/>
-  </saxon:output>
+  </xsl:document>
 </xsl:template>
 
 <xsl:template match="dir" mode="output">
   <xsl:value-of select="substring(File:mkdir(File:new(@name)),0,0)" 
-                xmlns:File="java:java.io.File"/>
+                xmlns:File="xalan://java.io.File"/>
 </xsl:template>
 
 </xsl:stylesheet>
Index: mod/schematron/mod.xml
===================================================================
--- mod/schematron/mod.xml	(revision 2353)
+++ mod/schematron/mod.xml	(working copy)
@@ -27,7 +27,7 @@
       <xslt style="mod/schematron/lib/xsltc-fixup.xsl"
 	    in="mod/schematron/src/main/${mod.schematron.respackage}/schematron.xsl"
 	    out="${mod.schematron.resdir}/schematron-xsltc.xsl">
-	<factory name="com.icl.saxon.TransformerFactoryImpl"/>
+	<factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
       </xslt>
     </target>
   </ant>
Index: mod/xsd-datatype/test/xsdtest.xml
===================================================================
--- mod/xsd-datatype/test/xsdtest.xml	(revision 2353)
+++ mod/xsd-datatype/test/xsdtest.xml	(working copy)
@@ -739,7 +739,9 @@
 <length value="0"></length>
 <length value="1">x</length>
 <length value="1"> x </length>
+<!-- xalan creates invalid XML out of this: &#55298;&#56320;
 <length value="1">&#x10800;</length>
+-->
 </datatype>
 <datatype name="language">
 <valid>en</valid>
Index: build.xml
===================================================================
--- build.xml	(revision 2353)
+++ build.xml	(working copy)
@@ -40,7 +40,7 @@
 
 <target name="modbuild" depends="modules,check-modbuild" unless="modbuild-ok">
   <xslt style="build.xsl" in="modules.xml" out="modbuild.xml" force="true">
-    <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+    <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
   </xslt>
 </target>
 
@@ -74,7 +74,7 @@
 	includes="${moddir}/*/${modfile}"
 	filedirparameter="name"
 	destdir=".">
-    <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+    <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
     <regexpmapper from="mod/([-a-zA-Z0-9_]*)/mod.xml"
 		  to="mod/\1/\1.iml"
 		  handledirsep="true"/>
@@ -183,15 +183,15 @@
 <target name="jing-doc" depends="version">
   <xslt basedir="doc" destdir="${build.dir}" includes="derivative.xml"
         style="doc/derivative.xsl">
-    <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+    <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
   </xslt>
   <xslt basedir="doc" destdir="${build.dir}" includes="design.xml"
         style="doc/design.xsl">
-    <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+    <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
   </xslt>
   <xslt basedir="doc" destdir="${build.dir}" includes="nrl.xml"
         style="doc/nrl.xsl">
-    <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+    <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
   </xslt>
   <copy todir="${build.dir}">
     <fileset dir="doc" includes="*.html"/>
Index: build.xsl
===================================================================
--- build.xsl	(revision 2353)
+++ build.xsl	(working copy)
@@ -325,7 +325,7 @@
       <xslt style="{$srctestdir}/{@transform}"
 	    in="{$srctest}"
 	    out="{$runtestdir}/{@name}test.xml">
-	<factory name="com.icl.saxon.TransformerFactoryImpl"/>
+	<factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
       </xslt>
       <!-- XXX Could validate intermediate result against a schema -->
     </xsl:if>
@@ -341,7 +341,7 @@
 	  </xsl:otherwise>
 	</xsl:choose>
       </xsl:attribute>
-      <factory name="com.icl.saxon.TransformerFactoryImpl"/>
+      <factory name="org.apache.xalan.processor.TransformerFactoryImpl"/>
       <param name="dir" expression="{$runtestdir}"/>
     </xslt>
   </target>