Cannot paste text in certain XSLT files

Having trouble installing Oxygen? Got a bug to report? Post it all here.
colinm
Posts: 28
Joined: Wed May 26, 2010 7:05 pm

Cannot paste text in certain XSLT files

Post by colinm »

In a few XSLT files, I am not able to paste text. When I try, I get the following error:
"Paste" did not complete normally. Please see the log for more information.
ro.sync.contentcompletion.xml.z cannot be cast to ro.sync.contentcompletion.xsl.l
I tried to:
  • duplicate these files
  • rename them
  • remove all content
  • open an healthy XSLT file and replace its content with the content of the buggy file
  • disable content completion
I still end up not being able to paste text.

I use Oxygen Eclipse plugin 13.0.0.2011082517 with Eclipse 3.6.2.r362

Here is the log file generated with the following log4j.properties located in eclipse/oxygenplugin/lib:

Code: Select all

log4j.rootCategory= debug, R2

# R2 will write log to file
log4j.appender.R2=org.apache.log4j.RollingFileAppender
log4j.appender.R2.File=oxygen.log
log4j.appender.R2.MaxFileSize=12000KB
log4j.appender.R2.MaxBackupIndex=4
log4j.appender.R2.layout=org.apache.log4j.PatternLayout
log4j.appender.R2.layout.ConversionPattern=%r %p [ %t ] %c - %m%n
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
colinm
Posts: 28
Joined: Wed May 26, 2010 7:05 pm

Re: Cannot paste text in certain XSLT files

Post by colinm »

Also, I am not able to reproduce the issue with new files.

Here is an example of file in which I cannot paste text:

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: dita2dita-topic.xsl,v 1.3 2012/07/02 11:33:54 cmaudry Exp $ -->

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2007/schema-for-xslt20.xsd"
exclude-result-prefixes="xsi xsl">
<xsl:output doctype-public=""></xsl:output>
<xsl:template match="* | @* | processing-instruction() | text() | comment()">
<xsl:copy>
<xsl:apply-templates select="* | @* | processing-instruction() | text() | comment()" />
</xsl:copy>
</xsl:template>

</xsl:stylesheet>
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
colinm
Posts: 28
Joined: Wed May 26, 2010 7:05 pm

Re: Cannot paste text in certain XSLT files [solved]

Post by colinm »

The issue was solved by upgrading to v13.2.

Thanks!
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Cannot paste text in certain XSLT files

Post by adrian »

Hi,

There was a bug in v13.0 that caused this problem because of "xsi:schemaLocation" from the stylesheet. This has been resolved in v13.1 and later.

Please let us know if you encounter other issues with Oxygen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply