On Tue, 19 Feb 2002, Daisuke Maki wrote: > Hi, > > I just got started with XSP, and I'm having some issues with the > encoding. I'm trying to do this: > > === > > <?xml version="1.0" encoding="EUC-JP"?> > <?xml-stylesheet href="NULL" type="application/x-xsp"?> > > <!-- > this is a custom xsl that's written in EUC-JP, and > <xsl:output encoding> is also set to EUC-JP > --> > <?xml-stylesheet href="main.xsl" type="text/xsl"?> > > <document title="Some_Japanese_Characters"> > <xsp:logic> > ... > </xsp:logic> > </document> > > === > > When I place Japanese characters ( EUC-JP ) in the document node, LibXML > (iconv?) complains: > > output conversion failed due to conv error > Bytes: .......... > xmlOutputBufferWrite: encode error > > This seems to have something to do with the resulting document from the > first XSP transformation, as no error is produced if the second > stylesheet is disabled. And I know that the second stylesheet works by > itself without any errors. > > Is there anyway to fix this?
I think this is a bug in XML::LibXML that Christian Glahn is working on. I'll keep the list informed as to when it's fixed. I'm also going to investigate migrating XML::LibXML to XML::GDOME within AxKit. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
