oXygen Web Author no finding @import CSS stylesheets
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 11
- Joined: Thu Jul 06, 2017 10:53 am
- Location: Nantes, France
oXygen Web Author no finding @import CSS stylesheets
Post by jbvalentin »
Hi ,
I've created an framework for a specific set of schemas. It works well in oXygen Author desktop, and I'd like to have it working within the Web Author.
Starting the Web Author thanks to the Web Author test server plugin, and opening the Browser, I end up with the following error:
Error loading CSS filesError parsing file:/D:/Work/oxygen-asd-s1000d/rdf.css (File not found)
This stylesheet is imported by the main CSS with a relative path (e.g. @import "rdf.css";). This main CSS seems to be properly loaded and associated to my document.
Is there something special to configure to use @import's in CSS?
Thank you.
Best regards,
Jean-Baptiste
I've created an framework for a specific set of schemas. It works well in oXygen Author desktop, and I'd like to have it working within the Web Author.
Starting the Web Author thanks to the Web Author test server plugin, and opening the Browser, I end up with the following error:
Error loading CSS filesError parsing file:/D:/Work/oxygen-asd-s1000d/rdf.css (File not found)
This stylesheet is imported by the main CSS with a relative path (e.g. @import "rdf.css";). This main CSS seems to be properly loaded and associated to my document.
Is there something special to configure to use @import's in CSS?
Thank you.
Best regards,
Jean-Baptiste
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: oXygen Web Author no finding @import CSS stylesheets
Hi,
We tried to reproduce this problem but the imported css applied succesfully. In order to help you we need to analyze your framework settings so, if it is possible, please send us your framework files at support@oxygenxml.com. Also please specify the version of Web Author plugin (go to Prefrences -> Plugins, select the "oXygen Web Author Test Server" plugin and check the version in the plugins properties table).
Best Regards,
Mihaela
We tried to reproduce this problem but the imported css applied succesfully. In order to help you we need to analyze your framework settings so, if it is possible, please send us your framework files at support@oxygenxml.com. Also please specify the version of Web Author plugin (go to Prefrences -> Plugins, select the "oXygen Web Author Test Server" plugin and check the version in the plugins properties table).
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Thu Jul 06, 2017 10:53 am
- Location: Nantes, France
Re: oXygen Web Author no finding @import CSS stylesheets
Post by jbvalentin »
Hi,
thank you for your answer.
The framework in publicly available in the following repo: https://github.com/Amplexor/oxygen-asd-s1000d.
There are some template files so that you can try editing an XML.
The plugin version used is the 21.1.0.
Regards,
Jean-Baptiste
thank you for your answer.
The framework in publicly available in the following repo: https://github.com/Amplexor/oxygen-asd-s1000d.
There are some template files so that you can try editing an XML.
The plugin version used is the 21.1.0.
Regards,
Jean-Baptiste
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: oXygen Web Author no finding @import CSS stylesheets
Hi,
We managed to reproduce your problem and found that it is happening when the CSS path contains backslash instead of slash.
We will update the code to also support this paths but for the moment you should change them (for example ${framework}/style/dmodule.css instead of ${framework}\style\dmodule.css).
Best Regards,
Mihaela
We managed to reproduce your problem and found that it is happening when the CSS path contains backslash instead of slash.
We will update the code to also support this paths but for the moment you should change them (for example ${framework}/style/dmodule.css instead of ${framework}\style\dmodule.css).
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Thu Jul 06, 2017 10:53 am
- Location: Nantes, France
Re: oXygen Web Author no finding @import CSS stylesheets
Post by jbvalentin »
Hi,
thank you for you answer.
I'll fix the framework definition.
Regards,
Jean-Baptiste
thank you for you answer.
I'll fix the framework definition.
Regards,
Jean-Baptiste
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