Hello, I forgot to remove the prefix TL. It is not the real problem however. Regard it as: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="Stylesheet.xsl"?> ... <Element description="1234567890!"�$%&/()=?�"/> ...
What do you mean with: "the XML document snippet you provided contains an illegal UTF-8 byte sequence" I noticed that with notepad everything was ok, but this was the only editor recognizing the encoding from scratch. All other editors showed sth from the kind : 1234567890!"§$%&/()=?´ Regards, P.S. Do all emails sent to the group arrive an hour late? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:14 PM To: [email protected] Subject: RE: Xalan-C 1.4 special character question Hi, Can you create a Bugzilla report and attach a _complete_ document and stylesheet? I can't reproduce your problem with this input, because the XML document snippet you provided contains an illegal UTF-8 byte sequence. It's also not being well-formed, as there are two root elements, and the prefix TL is not bound to anything. Thanks, Dave Borislav Stoyanov To: [email protected] <[EMAIL PROTECTED] cc: (bcc: David N Bertoni/Cambridge/IBM) e.de> Subject: RE: Xalan-C 1.4 special character question 09/05/2003 05:56 AM ok,on Win2000 I have: in XML: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="Stylesheet.xsl"?> <TL:c-source-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... <Element description="1234567890!"�$%&/()=?�"/> ... in XSL: <xsl:template match="Element"> <xsl:value-of select="concat('REM: ',@description)"/> </xsl:template> I get: REM: 1234567890!"?�$%&/()=??? (with TestXSLT from a console) REM: 1234567890!"§$%&/()=?´ calling xalan transformation functions in a c++ program. even with XALAN 1.6 (I run TestXSLT from a console). Note: with MSXML I dont have this problem with the same xml,xsl and configuration. Best regards, -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 7:04 PM To: [email protected] Subject: Re: Xalan-C 1.4 special character question Hi, No, not without more information. Please post a small sample document and stylesheet that illustrates what you think the problem is. Often, there is nothing wrong with the output, it's just not in an encoding that you're expecting or that your tools are able to interpret. Dave Borislav Stoyanov To: [email protected] <[EMAIL PROTECTED] cc: (bcc: David N Bertoni/Cambridge/IBM) e.de> Subject: Xalan-C 1.4 special character question 09/03/2003 10:56 AM Hallo all, I'm experiencing some special character conversion problem: in an attribute I have """, but then I get "� after running xalan1.4 Could anyone help? Thank you in advance
