The "oxy_link-text()" function will not be executed
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 51
- Joined: Mon Oct 01, 2012 3:05 pm
The "oxy_link-text()" function will not be executed
Hello,
I use Oxygen 22.1 in an Eclipse CMS environment. I changed the DITA framework so that the css will be used from the document. the css is also placed beside the document on localhost.
But I get this Error:
Beschreibung: [CSS]: The "oxy_link-text()" function will not be executed unless the CSS file comes from a trusted location.
What am I doing wrong? am I missing some security settings?
Thanks for your help.
Stefan
I use Oxygen 22.1 in an Eclipse CMS environment. I changed the DITA framework so that the css will be used from the document. the css is also placed beside the document on localhost.
But I get this Error:
Beschreibung: [CSS]: The "oxy_link-text()" function will not be executed unless the CSS file comes from a trusted location.
What am I doing wrong? am I missing some security settings?
Thanks for your help.
Stefan
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Senior Solution Architect
KGU-Consulting GmbH
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: The "oxy_link-text()" function will not be executed
Post by alex_jitianu »
Hello,
For security reasons, if the CSS is not from a safe location, some CSS functions are not executed. Frameworks, for example, are considered safe locations because they either came built-in with Oxygen or the user have installed them himself.
What you can do:
1. You can go to Options->Preferences... on page Document Type Association / Locations and just add the directory where the CSS is located as an additional frameworks directory. Not a very elegant solution but it is a quick fix without any undesired side effects. It might not be possible for you though, if these document reside in multiple locations.
2. If you set the system property com.oxygenxml.disable.security=true then Oxygen will not sandbox resources that are not from safe locations. For Eclipse, you can set it in eclipse.ini: -Dcom.oxygenxml.disable.security=true
Best regards,
Alex
For security reasons, if the CSS is not from a safe location, some CSS functions are not executed. Frameworks, for example, are considered safe locations because they either came built-in with Oxygen or the user have installed them himself.
What you can do:
1. You can go to Options->Preferences... on page Document Type Association / Locations and just add the directory where the CSS is located as an additional frameworks directory. Not a very elegant solution but it is a quick fix without any undesired side effects. It might not be possible for you though, if these document reside in multiple locations.
2. If you set the system property com.oxygenxml.disable.security=true then Oxygen will not sandbox resources that are not from safe locations. For Eclipse, you can set it in eclipse.ini: -Dcom.oxygenxml.disable.security=true
Best regards,
Alex
-
- Posts: 51
- Joined: Mon Oct 01, 2012 3:05 pm
Re: The "oxy_link-text()" function will not be executed
Hi Alex,
thank you very much!
I desided to user your second advice because the path to the css differ for every document loaded.
Regards
Stefan
thank you very much!
I desided to user your second advice because the path to the css differ for every document loaded.
Regards
Stefan
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Senior Solution Architect
KGU-Consulting GmbH
Return to “SDK-API, Frameworks - Document Types”
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