mmidy 99/12/15 09:22:21
Modified: src/org/apache/xalan/xslt/client XSLTProcessorApplet.java
Log:
Update namespace
Revision Changes Path
1.7 +7 -2
xml-xalan/src/org/apache/xalan/xslt/client/XSLTProcessorApplet.java
Index: XSLTProcessorApplet.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xslt/client/XSLTProcessorApplet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XSLTProcessorApplet.java 1999/12/14 15:13:24 1.6
+++ XSLTProcessorApplet.java 1999/12/15 17:22:21 1.7
@@ -313,7 +313,7 @@
this.showStatus("Causing XSLT4J and XML4J to Load and JIT...");
// Prime the pump so that subsequent transforms don't look so slow.
StringReader xmlbuf = new StringReader("<?xml version='1.0'?><foo/>");
- StringReader xslbuf = new StringReader("<?xml
version='1.0'?><xsl:stylesheet
xmlns:xsl='http://www.w3.org/XSL/Transform/1.0'><xsl:template
match='foo'><out/></xsl:template></xsl:stylesheet>");
+ StringReader xslbuf = new StringReader("<?xml
version='1.0'?><xsl:stylesheet
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'><xsl:template
match='foo'><out/></xsl:template></xsl:stylesheet>");
PrintWriter pw = new PrintWriter(new StringWriter());
synchronized(m_processor)
{
@@ -326,7 +326,12 @@
// System.out.println("Primed the pump!");
this.showStatus("Ready to click!");
}
- catch(Exception e){this.showStatus("Could not prime the pump!");
System.out.println("Could not prime the pump!"); e.printStackTrace();}
+ catch(Exception e)
+ {
+ this.showStatus("Could not prime the pump!");
+ System.out.println("Could not prime the pump!");
+ e.printStackTrace();
+ }
}
// The stop() method is called when the page containing the applet is