package org.eleusoft.jaxs.xalan;


import org.eleusoft.jaxs.DOMSerializer;
import org.eleusoft.jaxs.DOMSerializerFactory;
import org.eleusoft.jaxs.SAXSerializer;
import org.eleusoft.jaxs.SAXSerializerFactory;

/** 
 * Factory of DOMSerializer and SAXSerializer based on Apache Xalan.
 * <p>Thread-safe.
 * <p>Note that <code>org.apache.xml.serialize<b>r</b></code>
 * is from Xalan, 
 * <code>org.apache.xml.serialize</code> is from Xerces. 
 * Ah and there is also the deprecated 
 * <code>org.apache.xalan.serialize</code>. Easy  ;-).
 **/
public class XalanSerializerFactory
   implements  DOMSerializerFactory, SAXSerializerFactory
{
	
    public 	DOMSerializer createDOMSerializer() 
    {
        return new XalanDOMSerializer();
    }
    public 	SAXSerializer createSAXSerializer() 
    {
        return new XalanSAXSerializer();
    }
	 
}

@@ -28,16 +28,74 @@
 alan;%0A%0A%0A
+import org.apache.xml.serializer.OutputPropertiesFactory;%0A
 import o
@@ -689,16 +689,212 @@
 ctory%0A%7B%0A
+    // Just to trigger load of lib and fail,%0A    // otherwise thinks there is Xalan but then%0A    // does not work%0A    static final OutputPropertiesFactory factory = new OutputPropertiesFactory();%0A
 %09%0A    pu

fix for missing lib on jdk>1.4