Syntax highlight problem (all text is black)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri Jul 01, 2005 6:04 pm
Syntax highlight problem (all text is black)
I try to use for work with xml the Eclipse 3.1M7 Plugin zip in eclipse-SDK-3.1-win32.zip.
But after installation lomboz-emf-gef-jem-3.1M6.zip oXygen editor has ceased to do of *.xml syntax highlight (all text is black)
. What there can be a problem?
But after installation lomboz-emf-gef-jem-3.1M6.zip oXygen editor has ceased to do of *.xml syntax highlight (all text is black)

-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
This is a known issue and there is already a reported bug on Eclipse with exactly this problem. Eclipse does not isolate plugins set up to hanle the same documents and it seems that the only solution is to edit the plugin.xml of one of the plugins and remove the contributions to that extension.
We will investigate this more and see if we can find a solution or at least a workaround.
Best Regards,
George
This is a known issue and there is already a reported bug on Eclipse with exactly this problem. Eclipse does not isolate plugins set up to hanle the same documents and it seems that the only solution is to edit the plugin.xml of one of the plugins and remove the contributions to that extension.
We will investigate this more and see if we can find a solution or at least a workaround.
Best Regards,
George
-
- Posts: 15
- Joined: Sat Mar 12, 2005 2:45 pm
- Location: Munich, Germany
Post by Christian Roth »
Does this bug also account for my problem that files ending in .xmap (to which I attributed the oXygen plugin) do not highlight syntax, but files ending in .xml do?
I had to tell oXygen standalone that .xmap files are of type XML, but I do not seem to be able to specify that in Eclipse 3.0.2. Anyway, I thought specifying "oXygen XML Editor" in Eclipse's file association preferences for the pattern "*.xmap" would do this.
Running oXygen eclipse plugin 6.1.0 on eclipse 3.0.2 on Mac OS X 10.4.2 .
Regards, Christian.
I had to tell oXygen standalone that .xmap files are of type XML, but I do not seem to be able to specify that in Eclipse 3.0.2. Anyway, I thought specifying "oXygen XML Editor" in Eclipse's file association preferences for the pattern "*.xmap" would do this.
Running oXygen eclipse plugin 6.1.0 on eclipse 3.0.2 on Mac OS X 10.4.2 .
Regards, Christian.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Make sure you follow the general procedure for file association in Eclipse:Christian Roth wrote:I thought specifying "oXygen XML Editor" in Eclipse's file association preferences for the pattern "*.xmap" would do this.
Running oXygen eclipse plugin 6.1.0 on eclipse 3.0.2 on Mac OS X 10.4.2
1) Go to Window - Preferences - Workbench - File association.
2) Add the *.xmap file type.
3) Add Oxygen XML Editor to the Associated editors list.
4) Press the OK button.
If you did not associated the *.xmap type with other editor before then Oxygen XML Editor will be the default editor for it and the icon will be the same as for XML files. Double click on any .xmap file for opening it with <oXygen/>.
Best regards,
Sorin
Last edited by sorin_ristache on Wed Aug 24, 2005 12:23 pm, edited 1 time in total.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
KML wrote:But after installation lomboz-emf-gef-jem-3.1M6.zip oXygen editor has ceased to do of *.xml syntax highlight (all text is black)
It is an Eclipse bug:george wrote:We will investigate this more and see if we can find a solution or at least a workaround.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=96917
We implemented a workaround for it. Starting with the <oXygen/> 6.2 release you can use both the <oXygen/> plugin and the lomboz plugin in the same Eclipse installation and syntax highlight will work normally. The fix also resolves the same syntax highlight problem that occured with Web Tools Platform and <oXygen/> running at the same time - see
http://www.oxygenxml.com/forum/ftopic1173.html
Best regards,
Sorin
-
- Posts: 2
- Joined: Fri Oct 07, 2005 4:40 pm
I have exactly the same problem, after following the recommended configuration procedure.Christian Roth wrote:Does this bug also account for my problem that files ending in .xmap (to which I attributed the oXygen plugin) do not highlight syntax, but files ending in .xml do?
I had to tell oXygen standalone that .xmap files are of type XML, but I do not seem to be able to specify that in Eclipse 3.0.2. Anyway, I thought specifying "oXygen XML Editor" in Eclipse's file association preferences for the pattern "*.xmap" would do this.
Oxygen 6.2.2 + Eclipse 3.1.1
Thanks for any comment,
Andreas
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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