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?


--
Robin Berjon <[EMAIL PROTECTED]>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to