Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

Uniface 8: XMLTRANSFORM

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

26 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Hi

Well, the euro symbol, nor any symbol, should be a problem with a valid unicode file (UTF-8 encoded for example), processed by a valid unicode stylesheet file.

This seems to be more a file encoding problem than a XSL processor one (or Xalan is not really scalable, what I doubt)

Kind regards,
Richard


Author: richard.gill (richard.gill@agfa.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Good to know -- always trouble with this euro


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Good morning. We resolved the problem. It was the euro character, in our version xmltransform function is not able to transform it. Regards.


Author: None (None)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

"preceeding" the root node may point to some unbalanced quotes or so:

The EOF is encountered before a root node is recognised.


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

This is exactly the message error: "XSLT: The markup in the document preceding the root element must be well-formed. Xalan: was not successful". Regards.


Author: None (None)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Hi, character unicode 0x19 is an end of file, if you cut and paste the xml file or the content inside from Word to uniface it´s normal that this character appears.

Regards,Rafa.


Author: uniface8 (spanish_uniface@hotmail.es)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Hi mates! I got a problem again but now I got a -3 code error with a descripcion about "An Invalidad xml character unicode 0x19. Xalan was not successfully". Does anyone know something about Xalan version, updating and his caracteristics? PS: We are using Uniface 8.02. Thanks in advance! Kind Regarsd.


Author: None (None)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Hi Rafa,

thanks for your detailed analysis; it is very positive that we do not have a fundamental problem launching XML transformation out of Uniface.

And the "all-in-one-node" should not occur too often in the real world.

Have a nice weekend (warm and sunny here in Regensburg/Germany), Uli


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

Ok, i´ve been talking with Antonio and I tested his xml files in a similar enviroment, i think that it´s not a problem of memory, jvm or file size, i tested similar xml files and works fine, but in his xml file, there is a node that content all the information, if this node is separated in two nodes works fine, it´s a possible solution, but someone knows the limit of a xml node? or a parameter to change the limit?

Regards, Rafa.

 


Author: uniface8 (spanish_uniface@hotmail.es)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:46 AM UTC

XMLTRANSFORM

Author: None (None)

Hi! I?ve tried to convert a file bigger than 5mg using the XMLTRANSFORM operation in Uniface 8.2 but I got an error (-5), what it means Java Runtime Error. I suppose there is not enough memory avalaible in the Java Virtual Machine. I know that your can configure in Uniface 9 with JVM_OPTIONS = -Xmx512m, but in my case I don?t know how to find out a solution. Thanks in advance.

The control is returned to uniface and Altova takes much more time to convert it. It seems like uniface get an unclassified error before finishing the process. Regards


Author: None (None)