You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Cl...@ladbrokes.co.uk on 2000/11/29 17:45:37 UTC

SAXNotRecognizedException!!


Hi All,
After some discussions on the xerces-j-dev@xml.apache.org list, we thought y'all
should have a glance at this.

It seems this will always be thrown with the build available as of today -
28/Nov/2000.

Tha TransformerImpl class places the following call in the "transform(
InputSource xmlSource)" method.

reader.setProperty("http://xml.org/sax/properties/lexical-handler",
inputHandler);

which eventually is picked up by the ParseAdapter class.

    public void setProperty (String name, Object value)
     throws SAXNotRecognizedException, SAXNotSupportedException
    {
     throw new SAXNotRecognizedException("Property: " + name);
    }

As you can clearly see this will *always* throw an exception when called.

This is a copy of the stacktrace....

org.xml.sax.SAXNotRecognizedException: Property:
http://xml.org/sax/properties/lexical-handler
        at org.xml.sax.helpers.ParserAdapter.setProperty(ParserAdapter.java:252)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java,
Compiled Code)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:642)
        at lrl.mediaserver.core.Translator.newProcessing(Translator.java:106)
        at lrl.mediaserver.core.Translator.process(Translator.java:52)
        at lrl.mediaserver.content.HTMLZone.getHTML(HTMLZone.java:241)
        at lrl.mediaserver.content.HTMLTemplate.compileHTML(HTMLTemplate.java,
Compiled Code)
        at lrl.mediaserver.content.HTMLTemplate.getHTML(HTMLTemplate.java:157)
        at
lrl.mediaserver.content.HTMLPageRequest.getHTML(HTMLPageRequest.java:59)
        at
_0002fOutput_0002ejspOutput_jsp_1._jspService(_0002fOutput_0002ejspOutput_jsp_1.java:84)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)

        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)

        at
lrl.mediaserver.content.ContentServer.sendWrapper(ContentServer.java:121)
        at lrl.mediaserver.content.ContentServer.process(ContentServer.java:94)
        at lrl.mediaserver.core.MediaServer.handleRequests(MediaServer.java:318)
        at lrl.mediaserver.core.MediaServer.doGet(MediaServer.java:259)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at lrl.mediaserver.core.MediaServer.service(MediaServer.java:220)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)

        at org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled
Code)
        at java.lang.Thread.run(Thread.java:479)

Hope this helps :-)

Clifford



______________________________________________________________________


   This communication and any files transmitted with it are confidential and
   intended solely for the use of the individual or entity to whom they are
   addressed. If you have received it in error please notify the sender or
   postmaster@ladbrokes.co.uk or telephone +44 (0)20 8868 8899. The unauthorised
   use, disclosure, copying or alteration of this message is forbidden.
   Ladbrokes Limited will not be liable for direct, special, indirect or
   consequential damage as a result of any virus being passed on, or arising
   from alteration of the contents of this message by a third party. Please note
   that in replying to this mail, you are granting the right for that reply to
   be forwarded to any other individual and to be read by a surrogate in the
   event that the intended recipient is out of the office or is no longer
   employed by the company.
   Any views expressed by an individual within this message do not necessarily
   reflect the views of the firm.