list4xt : Mailing list for the XT users community.
[list4xt] Re: mime-mapping?
Subject: [list4xt] Re: mime-mapping?
User: Website From: Leslie Myrick (lm64@nyu.edu)
Date: 08/05/2001 - 19:32
Hi,
Thanks .. yeah, I was wondering if I had to escape or maybe use a character
entity reference for the quotes in the img src call, but I have quotes all
over the place in the html in the template, e.g. for the anchors, and that
doesn't throw errors ...
I think it's actually a Tomcat bug on looking further ...
Leslie
At 10:24 AM 5/8/01 -0700, you wrote:
>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://tri-countycreditunion.com)
> > (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
>
>
>--
>Mailing list for the XT users community. (http://northernmarianashumanities.org)
>(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
--
Mailing list for the XT users community. (http://orfcu.org)
(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
|