Janusz S. Bień | 3 May 2010 11:47
Picon
Picon

is version 10.3 supposed to be usable in Debian Squeeze?


Hi!

I've purchased oXygen a year ago but only now I have motivation to try
to use it. However when I start to do something nontrivial, it becomes
unusable.

To be more specific, after reaching the point shown on the screen
shot, it stops to react and even refreshing the window takes ages (as
visible on the screen shot). I enclose below some information which
might be relevant.

Best regards

JSB

--8<---------------cut here---------------start------------->8---
/usr/sbin/update-alternatives --display java
java - manual mode
  link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java
/usr/bin/gij-4.3 - priority 43
/usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061
  slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz
/usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
  slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
/usr/lib/jvm/java-gcj/jre/bin/java - priority 1043
  slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
Current 'best' version is '/usr/lib/jvm/java-6-openjdk/jre/bin/java'.
--8<---------------cut here---------------end--------------->8---

(Continue reading)

Sorin Ristache | 3 May 2010 13:44
Favicon

Re: is version 10.3 supposed to be usable in Debian Squeeze?

Hello,

Did you install a Linux install kit of Oxygen or the All Platforms one? 
Please try the Linux kit for your platform (32 bits or 64 bits) because 
it comes with an included Sun JVM.

The All Platforms kit will use the default JVM already installed on the 
system which may not be a supported one (for example OpenJDK). If your 
system information means that the default JVM is a Sun Microsystems one 
the All Platforms kit should work too but let us try a Linux kit in 
order to find out first if it is a JVM problem.

Please tell us the values of the system properties java.home, 
java.vendor and java.version which you can find in the Help -> About 
dialog, the System properties tab. If it is a Sun JVM and the java.home 
is [Oxygen-install-folder]/jre (as in the case of a Linux install kit) 
but the problem persists please add the parameter 
-Dsun.java2d.pmoffscreen=false to the startup script and restart Oxygen. 
You can find details about setting a startup parameter in the User Manual:

http://www.oxygenxml.com/doc/ug-oxygen/set-parameter-in-startup-script.html

The parameter -Dsun.java2d.pmoffscreen=false is also explained in the 
User Manual:

http://www.oxygenxml.com/doc/ug-oxygen/display-problems-linux.html

Regards,
Sorin

(Continue reading)

Janusz S. Bień | 4 May 2010 07:54
Picon
Picon

solved (was: is version 10.3 supposed to be usable in Debian Squeeze?)

On Mon, 03 May 2010  Sorin Ristache <sorin@...> wrote:

> Hello,
>
> Did you install a Linux install kit of Oxygen or the All Platforms one? 

All Platform.

> Please try the Linux kit for your platform (32 bits or 64 bits) because 
> it comes with an included Sun JVM.

Done.

The problem seems to be solved.

Thank you very much for your quick answer.

Best regards

JSB

--

-- 
                     ,   
dr hab. Janusz S. Bien, prof. UW -  Uniwersytet Warszawski (Katedra Lingwistyki Formalnej)
Prof. Janusz S. Bien - Warsaw University (Department of Formal Linguistics)
jsbien@...,
jsbien@..., http://fleksem.klf.uw.edu.pl/~jsbien/
Janusz S. Bień | 4 May 2010 08:21
Picon
Picon

too many processes? (was: solved)

On Tue, 04 May 2010  jsbien@... (Janusz S. Bień) wrote:

[...]

> The problem seems to be solved.

I have been too optimistic...

After another ''freeze'' I noticed that I have 26 processes like this:

 1906 pts/0    S      0:00 /opt/Oxygen_XML_Editor_10.3/jre/bin/java -client
-Dinstall4j.jvmDir=/opt/Oxygen_XML_Editor_10.3/jre
-Dexe4j.moduleName=/opt/Oxygen_XML_Editor_10.3/oxygen -Dcom.oxygenxml.tree.readonly=false
-Dsun.java2d.noddraw=true -Xss550k -XX:SoftRefLRUPolicyMSPerMB=10 -Xmx512m
-Dcom.oxygenxml.language=English -classpath
/opt/Oxygen_XML_Editor_10.3/.install4j/i4jruntime.jar:/opt/Oxygen_XML_Editor_10.3/lib/oxygen.jar
com.install4j.runtime.Launcher launch ro.sync.exml.Oxygen true false
/opt/Oxygen_XML_Editor_10.3/error.log /opt/Oxygen_XML_Editor_10.3/output.log true true false 
true true 0 0  20 20 Arial 0,0,0 8 500 version 10.3 20 40 Arial 0,0,0 8 500 -1

It this the expected behavior? It may happen that just my computer is
too slow and/or has not enough memory (768 MB)...

Best regards

JSB

--

-- 
                     ,   
dr hab. Janusz S. Bien, prof. UW -  Uniwersytet Warszawski (Katedra Lingwistyki Formalnej)
(Continue reading)

Sorin Ristache | 4 May 2010 08:53
Favicon

Re: too many processes?

Hello,

It is not the expected behavior. Please add the startup parameter 
-Dsun.java2d.pmoffscreen=false to the file 
/opt/Oxygen_XML_Editor_10.3/oxygen.vmoptions as documented in the User 
Manual:

http://www.oxygenxml.com/doc/ug-oxygen/set-parameter-in-startup-script.html

and copy the attached file log4j.properties in the folder 
/opt/Oxygen_XML_Editor_10.3. Restart Oxygen 10.3 and after you get the 
freeze again please send us a zip archive with the file 
/opt/Oxygen_XML_Editor_10.3/oxygen.log.

Regards,
Sorin

On 5/4/2010 9:21 AM, Janusz S. Bień wrote:
> On Tue, 04 May 2010  jsbien@... (Janusz S. Bień) wrote:
>
> [...]
>
>> The problem seems to be solved.
>
> I have been too optimistic...
>
> After another ''freeze'' I noticed that I have 26 processes like this:
>
>   1906 pts/0    S      0:00 /opt/Oxygen_XML_Editor_10.3/jre/bin/java -client
-Dinstall4j.jvmDir=/opt/Oxygen_XML_Editor_10.3/jre
(Continue reading)

Jirka Kosek | 4 May 2010 11:40
Picon
Favicon
Gravatar

Disabling XSLT documentation in a new stylesheets

Hi folks,

it is possible to modify default template for new XSLT stylesheets. I
need to get rid of XSLT documentation stuff there and I wasn't able to
find right place to disable it.

Thanks,
	
				Jirka

--

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@...      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

_______________________________________________
oXygen-user mailing list
oXygen-user@...
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
George Cristian Bina | 4 May 2010 12:03
Favicon
Gravatar

Re: Disabling XSLT documentation in a new stylesheets

Hi Jirka,

The simplest solution is to create a document template (or more) for the 
stylesheets you want to create. For that just put an XSLT file in a 
folder and set that as template folder, either in the XSLT framework 
(Options->Preferences -- Document Type Association, Edit the XSLT 
framework and add the folder in the Templates tab) or in the global 
oXygen templates in Options->Preferences -- Editor / Templates / 
Document Templates.

We will consider handling this case also when you create the default 
XSLT document, eventually in the same dialog where you can select the 
version 1.0 or 2.0.

Best Regards,
George
--

-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 5/4/10 12:40 PM, Jirka Kosek wrote:
> Hi folks,
>
> it is possible to modify default template for new XSLT stylesheets. I
> need to get rid of XSLT documentation stuff there and I wasn't able to
> find right place to disable it.
>
> Thanks,
> 	
(Continue reading)

Jirka Kosek | 4 May 2010 14:23
Picon
Favicon
Gravatar

Re: Disabling XSLT documentation in a new stylesheets

George Cristian Bina wrote:
> The simplest solution is to create a document template (or more) for the
> stylesheets you want to create. For that just put an XSLT file in a
> folder and set that as template folder, either in the XSLT framework
> (Options->Preferences -- Document Type Association, Edit the XSLT
> framework and add the folder in the Templates tab) or in the global
> oXygen templates in Options->Preferences -- Editor / Templates /
> Document Templates.

Yes, but then I have to choose template which is quite laborious operation.

I'm using oXygen during XSLT course and I'm creating dozen of new simple
stylesheets (File->New->XSL Stylesheet) each hour to show answers to
question of my students. Documentation elements and namespace are
distracting in this case.

> We will consider handling this case also when you create the default
> XSLT document, eventually in the same dialog where you can select the
> version 1.0 or 2.0.

It would be nice to have ability to switch off documentation artifacts
in this dialog.

Thanks,

					Jirka

--

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@...      http://xmlguru.cz
(Continue reading)

Janusz S. Bień | 4 May 2010 19:18
Picon
Picon

Re: too many processes?

On Tue, 04 May 2010  Sorin Ristache <sorin@...> wrote:

> Hello,
>
> It is not the expected behavior. Please add the startup parameter 
> -Dsun.java2d.pmoffscreen=false to the file 
> /opt/Oxygen_XML_Editor_10.3/oxygen.vmoptions as documented in the User 
> Manual:
>
> http://www.oxygenxml.com/doc/ug-oxygen/set-parameter-in-startup-script.html
>
> and copy the attached file log4j.properties in the folder 
> /opt/Oxygen_XML_Editor_10.3. Restart Oxygen 10.3 and after you get the 
> freeze again please send us a zip archive with the file 
> /opt/Oxygen_XML_Editor_10.3/oxygen.log.

Thanks for the instruction.

I will try to reproduce the problem later, as for the time being I
have switched to an Athlon 64 X2 computer with 2 GB memory. After
setting Java memory to 1GB the old problems vanished, but I have some
new ones, for which I will open new threads.

Thanks again for your help.

Best regards

JSB

--

-- 
(Continue reading)

Janusz S. Bień | 4 May 2010 19:23
Picon
Picon

Couldn't find hyphenation pattern en_US


I experiment with transforming TEI to PDF using the file

  http://tei.oucs.ox.ac.uk/ENRICH/gBank/gBank.xml?style=raw

The first error I get is 

--8<---------------cut here---------------start------------->8---
SystemID: /home/jsbien/ENRICH/all/gBank.xml
Engine name: Saxon-B 9.1.0.7
Severity: error
Description: The process 'FOP' ended with code: 1.
The error was: 
2010-05-04 14:32:51 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en_US
--8<---------------cut here---------------end--------------->8---

The problem seems independent of the current locale. What is the remedy?

Best regards

JSB

--

-- 
                     ,   
dr hab. Janusz S. Bien, prof. UW -  Uniwersytet Warszawski (Katedra Lingwistyki Formalnej)
Prof. Janusz S. Bien - Warsaw University (Department of Formal Linguistics)
jsbien@...,
jsbien@..., http://fleksem.klf.uw.edu.pl/~jsbien/
(Continue reading)


Gmane