Code completion failure

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pseudonym
Posts: 2
Joined: Fri Oct 06, 2006 2:01 pm

Code completion failure

Post by pseudonym »

Hi,

I've just installed the Oygen 7.2 plugin for eclipse 3.2 (I'm fairly certain that I have the correct version for my version of eclipse). I'm using the XSL editor and unfortunately the code completion mechanism doesn't work. I've tried typing < and waiting and tried typing < and then ctrl+space. Neither have the intended effect. When I type ctrl+space I get a little red triangle on the base of the eclipse screen saying "failed to parse stylesheet" and in the Errors tab I get the message "Premature end of file".

At the time of typing ctrl+space, the content of the file is:

Code: Select all


<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/profile">



</xsl:template>
</xsl:stylesheet>
Any ideas on what I've done wrong.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

It seems the file contains characters which cannot be represented in ISO-8859-1. Do you get the same error if you create a new XSLT stylesheet from menu File -> New and type all the code fragment which you posted using the keyboard, without copy and paste operations and then type < inside the xsl:template ?

Regards,
Sorin
Last edited by sorin_ristache on Fri Oct 06, 2006 3:05 pm, edited 1 time in total.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Also content completion is disabled if the <oXygen/> plugin is not licensed. You can check this in Window -> Preferences -> oXygen. If the Licensed to, Company etc fields do not contain the correct data of your license key please register you license key by pressing the Register button and then the Paste and OK buttons of the license registration dialog.


Regards,
Sorin
pseudonym
Posts: 2
Joined: Fri Oct 06, 2006 2:01 pm

Post by pseudonym »

sorin wrote:Also content completion is disabled if the <oXygen/> plugin is not licensed.
Yup, that was the problem.

Thanks for your help.
Post Reply