On Fri, 28 Feb 2003, Robin Berjon wrote:
> Matt Sergeant wrote:
> > On Friday, Feb 28, 2003, at 06:13 Europe/London, Daisuke Maki wrote:
> >> I don't know about XPS, but for XSLT, I think this is your culprit.
> >> In A::A::Language::LibXSLT.pm at line 129-133, you see this:
> >>
> >> if ($last_in_chain && $XML::LibXSLT::VERSION >= 1.03) {
> >> my $encoding = $stylesheet->output_encoding;
> >> my $type = $stylesheet->media_type;
> >> $r->content_type("$type; charset=$encoding");
> >> }
> >
> > Good catch. I think it looks like we'd have to traverse the stylesheet's
> > DOM looking for the <xsl:output> element, and check if it has an
> > encoding attribute. All very complex but I think that will do what we need.
>
> Shouldn't AxOutputCharset override any previous setting?
Shouldn't XSLT encodings override any previous setting?
--
<!-- Matt -->
<:->get a SMart net</:->
Spam trap - do not mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]