Change error text, if an file could not be found
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 47
- Joined: Thu Jun 19, 2014 3:55 pm
Change error text, if an file could not be found
Hi,
we are using Eclipse Oxygen Author 17.1.
I want to change the message, if a file, which is a referenced in a conref could not be found.
How I could achieve this?
Best regards
Denis
we are using Eclipse Oxygen Author 17.1.
I want to change the message, if a file, which is a referenced in a conref could not be found.
How I could achieve this?
Best regards
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
KGU Consulting GmbH
http://www.kgu-consulting.com
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Change error text, if an file could not be found
Hi Denis,
Do you mean the message which is display embedded in the Author visual editing mode? It's something like Target file not found, right?
Do you want it to be translated or just want a custom message in place?
There is an error node in the Author mode which contains this text.
In the CSS you can match it like:
and for example try to hide its text content, maybe add some static content on it. Or match it from the StylesFilter API.
Or you could try to rewrite the entire ro.sync.ecss.extensions.dita.conref.DITAConRefResolver customization and provide your own custom error messages.
Regards,
Radu
Do you mean the message which is display embedded in the Author visual editing mode? It's something like Target file not found, right?
Do you want it to be translated or just want a custom message in place?
There is an error node in the Author mode which contains this text.
In the CSS you can match it like:
Code: Select all
@namespace oxy "http://www.oxygenxml.com/extensions/author";
oxy|error{
.....
}
Or you could try to rewrite the entire ro.sync.ecss.extensions.dita.conref.DITAConRefResolver customization and provide your own custom error messages.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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