This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Different define-xml-namespace behavior in servlet versus REPL
I tried this out just now (i.e. with KawaPageServlet), and it works
fine. Thanks.
-----Original Message-----
From: Per Bothner <per@bothner.com>
To: pingouin21@netscape.net
Cc: kawa@sources.redhat.com
Sent: Sun, 28 Oct 2007 8:06 pm
Subject: Re: Different define-xml-namespace behavior in servlet versus
REPL
pingouin21@netscape.net wrote:
(require 'http)
(require 'xml)
(response-content-type 'application/xml)
(define-xml-namespace svg "http://www.w3.org/2000/svg")
(svg:svg width: 467 height: 462)
#\newline
What got output from the servlet was badly-formed XML:
<http://www.w3.org/2000/svg:svg
xmlns:http://www.w3.org/2000/svg="svg"
width="467" height="462"></http://www.w3.org/2000/svg:svg>
I got (using the version in SVN):
<svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="467"
height="462"></svg:svg>
(I didn't compile it manually - I depended on the auto-compilation
of KawaPageServlet.)
--
--Per Bothner
per@bothner.com http://per.bothner.com/
________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and
industry-leading spam and email virus protection.