Transforming to HTML strips all dash characters
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 21
- Joined: Sun Jan 15, 2006 11:36 am
Transforming to HTML strips all dash characters
We have a large Help system authored in DocBook XML. Our developers have integrated Saxon transformation to HTML (EclipseHelp plugin is the final format). We noticed that in all our code examples, all the dash characters are stripped out. I don't think this was happening with the older version of Author I was using... it might have begun with upgrade to 16.1.
The xml sources declare: and all the dash characters are present in the source files as the - character (i.e. not as an entity like –).
The HTML files in our help after the transformation declare:
I tried the DocBook WebHelp scenario (Author 16.1 Mac) on one of the problem source files, and the HTML output file declares:
However, in all cases, the dash (-) characters are stripped.
becomes
becomes
In project settings, the Fallback character encoding option is set to: ISO-8859-1
Any suggestions how to fix this will be greatly appreciated.
The xml sources declare:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
The HTML files in our help after the transformation declare:
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Code: Select all
$JDK_HOME/bin/keytool -importcert -file
Code: Select all
$JDK_HOME/bin/keytool importcert file
Code: Select all
apt-get install openssl
Code: Select all
aptget install openssl
Any suggestions how to fix this will be greatly appreciated.
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Transforming to HTML strips all dash characters
Hi,
From what I understand the generated HTML contains the dash character but it is not rendered in the browser.
I think that it should be a CSS or a font related problem.
Did you try to open the output in a different browser or on a different machine?
You can send us some sample files (initial document and the generated output) on our support email address: support@oxygenxml.com
and we will try to help you find the problem.
Best regards,
Mihaela
From what I understand the generated HTML contains the dash character but it is not rendered in the browser.
I think that it should be a CSS or a font related problem.
Did you try to open the output in a different browser or on a different machine?
You can send us some sample files (initial document and the generated output) on our support email address: support@oxygenxml.com
and we will try to help you find the problem.
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 21
- Joined: Sun Jan 15, 2006 11:36 am
Re: Transforming to HTML strips all dash characters
It definitely happens on different browsers and on different machines. It happens when I do a local build on my Mac using a transformation scenario, but it's also present in Help built with our own builder, using a different CSS, running on the company's demo servers, which run Linux (not sure which Linux).
So I will open a support ticket via email with file samples after I get back to my home location next week. I would like to try the old version of Author on my old computer to see if it's a long-standing problem that nobody noticed before, or if it was introduced after I got a new computer and upgraded Author.
Thanks.
So I will open a support ticket via email with file samples after I get back to my home location next week. I would like to try the old version of Author on my old computer to see if it's a long-standing problem that nobody noticed before, or if it was introduced after I got a new computer and upgraded Author.
Thanks.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service