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
- From: Per Bothner <per at bothner dot com>
- To: pingouin21 at netscape dot net
- Cc: kawa at sources dot redhat dot com
- Date: Sun, 28 Oct 2007 17:06:31 -0700
- Subject: Re: Different define-xml-namespace behavior in servlet versus REPL
- References: <8C9E60BB56C094E-F98-52C4@webmail-stg-d04.sysops.aol.com>
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/