Fatal encoding error in DITA->XHTML transformation
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 20
- Joined: Fri Feb 20, 2015 10:25 am
Fatal encoding error in DITA->XHTML transformation
Hi there,
I have a DITA material that I'm trying to transform into XHTML, but the following error causes the transformation to fail:
"Output character not available in this encoding (decimal 228)" <- that character is the letter "ä", which previously has caused no problems. I don't know for sure what brought this problem on. All files are encoded as UTF-8, so that isn't the issue. As far as I know (and i checked), the files do not contain any other non-UTF-8 characters either.
Anyone have an idea what's going on?
Best regards,
Tino
I have a DITA material that I'm trying to transform into XHTML, but the following error causes the transformation to fail:
Code: Select all
BUILD FAILED
/Applications/oxygen/frameworks/dita/DITA-OT2.x/build.xml:41: The following error occurred while executing this line:
/Applications/oxygen/frameworks/dita/DITA-OT2.x/plugins/org.dita.base/build_preprocess.xml:88: The following error occurred while executing this line:
/Applications/oxygen/frameworks/dita/DITA-OT2.x/plugins/org.dita.base/build_init.xml:137: Fatal error during transformation using /Applications/oxygen/frameworks/dita/DITA-OT2.x/xsl/job-helper.xsl: Output character not available in this encoding (decimal 228); SystemID: file:/Applications/oxygen/frameworks/dita/DITA-OT2.x/xsl/job-helper.xsl; Line#: 94; Column#: -1
Anyone have an idea what's going on?
Best regards,
Tino
-
- Posts: 9424
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Fatal encoding error in DITA->XHTML transformation
Hi,
There is an issue opened for this problem:
https://github.com/dita-ot/dita-ot/issues/2957
Somehow one of the file names for your DITA topics or maps has some non-ASCII character in it.
Regards,
Radu
There is an issue opened for this problem:
https://github.com/dita-ot/dita-ot/issues/2957
Somehow one of the file names for your DITA topics or maps has some non-ASCII character in it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9424
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Fatal encoding error in DITA->XHTML transformation
Hi,
The fact that you are using a Mac should not influence things. Looking back at the reported error:
Otherwise you should try to manually remove the transformation temporary and output folders and try again to publish.
Regards,
Radu
The fact that you are using a Mac should not influence things. Looking back at the reported error:
The character which has decimal 228 is "ä". Maybe you can look again if the ancestor folders or DITA file names contain this character in them.Output character not available in this encoding (decimal 228)
Otherwise you should try to manually remove the transformation temporary and output folders and try again to publish.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 20
- Joined: Fri Feb 20, 2015 10:25 am
Re: Fatal encoding error in DITA->XHTML transformation
This issue was caused by incorrectly defined format attributes in xrefs that point to local DITA files (format="html" instead of "dita"). Case closed.
My old Oxygen 17.1 was, for some reason, not able to display these errors, and stated that the problem is encoding-related. Updating to 20.1 helped.
My old Oxygen 17.1 was, for some reason, not able to display these errors, and stated that the problem is encoding-related. Updating to 20.1 helped.
Return to “DITA (Editing and Publishing DITA Content)”
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