Version 12.2 pauses after typing colon
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
Version 12.2 pauses after typing colon
I upgraded to version 12.2 and am experiencing an annoying pause after every colon I type. I have been using oxygen for several versions, this is new behaviour in version 12.2. I suspect it has something to do with validation, but I have been unable to figure out an option that changes this behaviour.
Pause occurs with every colon. Even in XQuery.
I am using relatively fast machine, and don't believe I am stressing either oxygen or the machine.
Pause occurs with every colon. Even
Code: Select all
let $x := $y
I am using relatively fast machine, and don't believe I am stressing either oxygen or the machine.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Version 12.2 pauses after typing colon
Hello,
Do you have a transformation scenario associated with this XQuery document(Document -> Transformation -> Configure Transformation Scenario)?
Do you have an XML file(maybe a large one) specified as the input of this scenario?
What happens if you remove the XML file from the scenario? Does the problem still occur?
Regards,
Adrian
Do you have a transformation scenario associated with this XQuery document(Document -> Transformation -> Configure Transformation Scenario)?
Do you have an XML file(maybe a large one) specified as the input of this scenario?
What happens if you remove the XML file from the scenario? Does the problem still occur?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
Re: Version 12.2 pauses after typing colon
The transformation scenario is a connection to eXist db on another machine, but quite local (under my desk in fact). Had same config on previous versions w/ no problem.
No xml file as input. Very vanilla scenario.
No xml file as input. Very vanilla scenario.
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
Re: Version 12.2 pauses after typing colon
Problem seems to be related to validation scenario.
I had validation scenario set to validate using eXist as validation engine. File type: XQuery Document; Url: ${currentFileURL}. Automatic validation is not an option with eXist engine, so that is un-checked. No schema.
This seems to be worst-case. If I change the validation engine to any of the Saxon engines or <default engine> then performance is better, but still noticeable pause after typing colon.
I don't quite understand, if automatic validation is unchecked for the eXist engine, why is something being done while I type?
I went into Preference/Editor/Document Checking and turned off automatic validation. Same results, eXist engine = long pause, Saxon = shorter pause.
I had validation scenario set to validate using eXist as validation engine. File type: XQuery Document; Url: ${currentFileURL}. Automatic validation is not an option with eXist engine, so that is un-checked. No schema.
This seems to be worst-case. If I change the validation engine to any of the Saxon engines or <default engine> then performance is better, but still noticeable pause after typing colon.
I don't quite understand, if automatic validation is unchecked for the eXist engine, why is something being done while I type?
I went into Preference/Editor/Document Checking and turned off automatic validation. Same results, eXist engine = long pause, Saxon = shorter pause.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Version 12.2 pauses after typing colon
Post by sorin_ristache »
Hello,
Unfortunately we cannot reproduce the problem and a possible cause is not obvious. If automatic validation is unchecked in the validation scenario the delay is probably not caused by connecting to the eXist database. Please follow these steps for generating an Oxygen log file on your computer and after that send us the log file using the Technical Support form:
1. Make sure there is no file opened in the Oxygen application when you exit it
2. Exit the Oxygen application
3. Create a text file log4j.properties in the Oxygen install folder with the following content:
4. Restart the Oxygen application
5. Reproduce the slow editing in the XQuery file, at least 2 delays when typing ":" in different locations of the file
6. Exit the Oxygen application
We will try to figure out what is wrong by looking over the log file.
Thank you,
Sorin
Unfortunately we cannot reproduce the problem and a possible cause is not obvious. If automatic validation is unchecked in the validation scenario the delay is probably not caused by connecting to the eXist database. Please follow these steps for generating an Oxygen log file on your computer and after that send us the log file using the Technical Support form:
1. Make sure there is no file opened in the Oxygen application when you exit it
2. Exit the Oxygen application
3. Create a text file log4j.properties in the Oxygen install folder with the following content:
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
5. Reproduce the slow editing in the XQuery file, at least 2 delays when typing ":" in different locations of the file
6. Exit the Oxygen application
We will try to figure out what is wrong by looking over the log file.
Thank you,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Version 12.2 pauses after typing colon
Post by sorin_ristache »
We found a possible cause of the delay but the delay would happen only if the edited XQuery file is located on a network drive that is mapped in the file system as a local drive / partition so that the applications cannot know that in fact the file is not on the local computer. We will remove the delay for this case in a future version of Oxygen but it would help you only if the XQuery file is located on such a network drive.apmoh wrote:This seems to be worst-case. If I change the validation engine to any of the Saxon engines or <default engine> then performance is better, but still noticeable pause after typing colon.
I don't quite understand, if automatic validation is unchecked for the eXist engine, why is something being done while I type?
Regards,
Sorin
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
Re: Version 12.2 pauses after typing colon
Sorry for my late response, got distracted by other problems...
That is indeed the case, my XQuery files are on a network drive that is mapped to a local drive letter.
Thank you for your attention to this problem.
Anthony
That is indeed the case, my XQuery files are on a network drive that is mapped to a local drive letter.
Thank you for your attention to this problem.
Anthony
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Version 12.2 pauses after typing colon
Post by sorin_ristache »
Hello Anthony,
Regards,
Sorin
We fixed the problem. The next version of Oxygen (13.0) will not have the delay problem anymore.apmoh wrote:That is indeed the case, my XQuery files are on a network drive that is mapped to a local drive letter.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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