From: SourceForge.net <no...@so...> - 2008-04-03 19:12:34
|
Bugs item #1931607, was opened at 2008-04-01 22:13 Message generated for change (Comment added) made by mzjn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1931607&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: other Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ed Teach (edteach) Assigned to: Nobody/Anonymous (nobody) Summary: Issue with XHTML output, possible encoding issue Initial Comment: I'm using docbook-xsl-1.73.2 with hr-xsl-012 in Eclipse on a Mac (10.4.7) to convert an HR-XML resume to XHTML. I'm not experiencing any errors with SAXON or ANT, but my output is getting garbled some. The following snippets are from the docbook that hr-xsl produces: <formalpara> <title>Objective</title> <para>To obtain a senior software engineer position in the Raleigh - Durham North Carolina area with a Fortune 100 company.</para> </formalpara> and <listitem> <simpara> <quote>Using JSR 226 for Declarative UI on iDEN Mobile Devices</quote> J2ME Developer's Conference. </simpara> </listitem> docbook-xsl is producing the following xhtml snippets: <p><b>Objective. </b>To obtain a senior software engineer position in the Raleigh - Durham North Carolina area with a Fortune 100 company.</p> and <li>“<span class="quote">Using JSR 226 for Declarative UI on iDEN Mobile Devices</span>” Sprint Developer's Conference. Fort Lauderdale, FL. 2005.</li> I'm not having any problems with HTML output, only XHTML. I think this has to do with encodings. My docbook is encoded at UTF-8 according to the XML declaration. However, I think some of the character entities that are being used by docbook-xsl may not encoded in UTF-8. I don't understand much of how docbook-xsl works yet, but when I changed the docbook.xsl file in the xhtml directory to output as ISO-8859-1 instead of UTF-8, it fixed my problem. ---------------------------------------------------------------------- >Comment By: Mauritz Jeanson (mzjn) Date: 2008-04-03 21:12 Message: Logged In: YES user_id=582041 Originator: NO It's hard to know for sure, but I don't think that this is a DocBook-XSL problem. My guess is that XHTML encoded in UTF-8 is misinterpreted by the browser as being encoded in ISO-8859-1. I know that Internet Explorer has this problem (at least sometimes). Have you tried to change the encoding used by your browser? If you think that this warrants further investigation, it would help if you could upload a complete (but small) Docbook XML file and a resulting XHTML file that demonstrate the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1931607&group_id=21935 |