[Xitami] '&' character in <textarea...> problem
Johnson, Nathan J
xitami@lists.xitami.org
Tue, 14 Aug 2001 13:16:38 -0400
Without any real analysis, my first instinct points me toward character
entitities as a place to start looking, I'll post again later if I have more
time to think it through... it sounds like some code is trying to resolve a
character entity, for instance "<" resolves to "<" in a document because
"<" is normally used in tags. So, something is seeing that "&" assuming it
is a character entity and trying to resolve it.
Are you using XHTML or some other XML DTD or true legacy HTML?
Something bizarre to try....
wrap your like this....
<![CDATA[
your text here
]]>
> -----Original Message-----
> From: Jürgen Rauch [SMTP:juergen.rauch@optimay.com]
> Sent: Tuesday, August 14, 2001 12:40 PM
> To: 'xitami@lists.xitami.org'
> Subject: [Xitami] '&' character in <textarea...> problem
>
> > I am using XITAMI version 2.4d9 locally on Win98 in combination with the
> > Python cgi module and the IE5.
> > I display an HTML page that contains an empty textarea and a submit
> > button.
> >
> > The problem is: if I submit a text that contains somewhere the character
> > '&', it will cut off this character and all text that follows.
> > E.g. if I enter "Smith & Sons" into the text area, I receive only "Smith
> "
> > in the cgi form.
> >
> > I don't think that this is a Python problem, because with the Apache
> > Server it works fine.
> >
> > Any comments will be appreciated
> >
> > Cheerio
> > Juergen
> >
> >
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami