DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22624>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22624

AppletXMLtoHTML sample doesn't work.

           Summary: AppletXMLtoHTML sample doesn't work.
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This issue is related to bug #4000 and #2291 (I'm pretty sure it's the same 
bug). I tried running the AppletXMLtoHTML sample included with XALAN with a 
small change. Instead of using the XSLTProcessorApplet.class included in the 
XALAN.JAR file I compiled it from the source code and adjusted the <APPLET> 
tag in Client.html to call the re-compiled class. I'm using Xalan-J 2.5.1, 
Java Plug-In 1.4.2, and Windows XP Home Edition. The Java Console shows:

java.lang.ExceptionInInitializerError

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at org.apache.xalan.serialize.SerializerFactory.getSerializer(Unknown 
Source)

        at 
org.apache.xalan.transformer.TransformerImpl.createResultContentHandler
(Unknown Source)

        at 
org.apache.xalan.transformer.TransformerImpl.createResultContentHandler
(Unknown Source)

        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)

        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)

        at XSLTProcessorApplet.start(XSLTProcessorApplet.java:292)

        at sun.applet.AppletPanel.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.RuntimeException: The resource [ XMLEntities.res ] could 
not load: java.net.MalformedURLException: no protocol: XMLEntities.res 
 XMLEntities.res         java.net.MalformedURLException: no protocol: 
XMLEntities.res

        at org.apache.xalan.serialize.CharInfo.<init>(Unknown Source)

        at org.apache.xalan.serialize.SerializerToXML.<clinit>(Unknown Source)

        ... 10 more

Reply via email to