list4xt : Mailing list for the XT users community.
[list4xt] Re: mime-mapping?
Subject: [list4xt] Re: mime-mapping?
From: guy (guy@polylab.sfu.ca)
Date: 08/05/2001 - 19:24
Hi,
Somebody else will hopefully really offer some useful advice but in the
meantime:
I had problems with character not allowed exeptions whenever my data (text
nodes) contained a non-conforming character like "quotes" or a "trademark
symbol".
My two bits worth
Guy
Leslie Myrick wrote:
> Hi,
> I'm not positive, but I think this may be an XT issue, since a
> transformation that works in Cocoon doesn't work here.
> I'm running XT on Tomcat/Apache/Linux using XSLServlet. When I try to load
> images I get the following error:
> <snip>
> 2001-05-08 11:43:41 - Ctx( /xmldev ): Exception in: R( /xmldev +
> /servlet/xt + /EAD/nyhsa.jpg) - javax.servlet.ServletException: character
> not allowed
> at com.jclark.xsl.sax.XSLServlet.doGet(XSLServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java
> </snip>
> <snip>
> Root cause:
> org.xml.sax.SAXParseException: character not allowed
> at com.jclark.xml.sax.Driver.parse(Driver.java)
> at com.jclark.xsl.sax.XMLProcessorImpl.load(XMLProcessorImpl.java)
> at com.jclark.xsl.sax.XSLProcessorImpl.parse(XSLProcessorImpl.java)
> at com.jclark.xsl.sax.XSLServlet.doGet(XSLServlet.java)
> </snip>
> After triple checking for errors and getting a clean bill of health on the
> stylesheet/doc combo from the command line on my PC, I can only figure that
> it's trying to serialize the image file as text and I need to do more
> explicit mime mapping. I've tried adding <mime-mapping> to my web.xml file
> to no avail. Am I missing something obvious?
> Thanks for any help.
> Leslie
> * * * * * * * * * * * * * * * * * * * * * * * *
> Leslie Diane Myrick
> Digital Library Programmer/Analyst
> NYU Libraries 70 Washington Sq So
> NY, NY 10012
>
> --
> Mailing list for the XT users community. (http://merchantservicesnewjersey.com)
> (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
--
Mailing list for the XT users community. (http://gwlt.com)
(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
Archive générée par hypermail 2b28 le 01/06/2001 - 09:01 CEST
webmaster@4xt.org
|