<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/joost/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/joost/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/joost/bugs/</id><updated>2011-05-13T11:20:44Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Log4j Configuration included in joost.jar is too aggressive</title><link href="https://sourceforge.net/p/joost/bugs/93/" rel="alternate"/><published>2011-05-13T11:20:44Z</published><updated>2011-05-13T11:20:44Z</updated><author><name>jasa</name><uri>https://sourceforge.net/u/jasa/</uri></author><id>https://sourceforge.netd17a6be87627f2d9716a1ecdb18fe326df616146</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The log4j.properties file defines the root logger for output to the console on the warn level. This causes other application logging to be directed to the console too, which is not that desirable. I have noticed this behaviour on both JBoss and WebLogic application servers.&lt;/p&gt;
&lt;p&gt;It would be nicer to have a version of joost that doesn't use the root logger for its logging (configuration).&lt;br /&gt;
I have removed the offending line from the included log4j.properties file to fix this issue, but I would feel more comfortable with an official version of the library.&lt;/p&gt;
&lt;p&gt;Maybe it is also a good idea to use an alternate naming scheme for the property file to avoid automatic loading of the included property file in context of an application loading chain. This way you can make sure that there is no impact on other libraries or applications who include the joost library.&lt;/p&gt;
&lt;p&gt;Much appreciated!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>stx:result-document doesn't respect -nodecl</title><link href="https://sourceforge.net/p/joost/bugs/92/" rel="alternate"/><published>2010-01-12T21:37:31Z</published><updated>2010-01-12T21:37:31Z</updated><author><name>Oliver Becker</name><uri>https://sourceforge.net/u/obecker/</uri></author><id>https://sourceforge.net16f1ab03172fb18be801e01127739a0c8719640a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When specifying the -nodecl parameter on the command line, only the principal output doesn't have an XML declaration. It is still present in documents created with  stx:result-document.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Large number of literal nodes cause stack overflow with TrAX</title><link href="https://sourceforge.net/p/joost/bugs/91/" rel="alternate"/><published>2009-10-21T10:06:36Z</published><updated>2009-10-21T10:06:36Z</updated><author><name>Doug</name><uri>https://sourceforge.net/u/douglee/</uri></author><id>https://sourceforge.net2bb3e2b87888b89afd36ff68131a76d12cf3c011</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I came across this problem when I needed to output a large number of literal elements in a result document.  When the stylesheet is executed from the Joost API (e.g. from net.sf.joost.Main)  then the stylesheet works as expected. However, if the stylesheet is executed from TrAX then I get a stack overflow of the form:&lt;/p&gt;
&lt;p&gt;java.lang.StackOverflowError&lt;br /&gt;
at java.util.HashMap$Entry.&amp;lt;init&amp;gt;(HashMap.java:683)&lt;br /&gt;
at java.util.HashMap.addEntry(HashMap.java:753)&lt;br /&gt;
at java.util.HashMap.put(HashMap.java:385)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.deepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.onDeepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.NodeBase.onDeepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.LitElementFactory$Instance.onDeepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.deepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.onDeepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.NodeBase$End.onDeepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.deepCopy(Unknown Source)&lt;br /&gt;
at net.sf.joost.instruction.AbstractInstruction.onDeepCopy(Unknown Source)&lt;br /&gt;
... etc.&lt;/p&gt;
&lt;p&gt;The attached ZIP contains a simple Java program and STX transform which illustrate the issue.  For this simple example the stack overflow will occur on 32-bit JVMs on Linux and Windows.  64-bit JVMs on Linux appear to have a higher threshold.&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>selecting an attribute in a pattern </title><link href="https://sourceforge.net/p/joost/bugs/90/" rel="alternate"/><published>2009-09-22T08:30:29Z</published><updated>2009-09-22T08:30:29Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netec260ac676057b3f8580a83d455712d02dd28665</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that a pattern containing an attribute does not match.&lt;br /&gt;
If you apply the enclosed stx file on examples/example1.xml &lt;br /&gt;
you will see that the first template matches but not the second.&lt;/p&gt;
&lt;p&gt;If you comment out the first, nothing appears.&lt;/p&gt;
&lt;p&gt;Guy Lapalme (lapalme@iro.umontreal.ca)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Errors in extension functions are not reported properly</title><link href="https://sourceforge.net/p/joost/bugs/89/" rel="alternate"/><published>2009-08-24T13:53:52Z</published><updated>2009-08-24T13:53:52Z</updated><author><name>momo</name><uri>https://sourceforge.net/u/ickzon/</uri></author><id>https://sourceforge.net88c8bb7b72173a9cf154220ccd22ab87e29cb74d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've been so contrite after I found out an invalid ErrorHandler seems to have caused the problems described in bug [2840856] that I did not even recheck that this actually has been the problem...&lt;/p&gt;
&lt;p&gt;Please find attached an Eclipse project showing that an exception thrown by a Java extension function is never signaled to the registered ErrorHandler. The Exception's error message is just printed to std.err.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
momo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Errors in extension functions are ignored completely</title><link href="https://sourceforge.net/p/joost/bugs/88/" rel="alternate"/><published>2009-08-20T07:24:22Z</published><updated>2009-08-20T07:24:22Z</updated><author><name>momo</name><uri>https://sourceforge.net/u/ickzon/</uri></author><id>https://sourceforge.nete239c5c3fa09027c4e9144a1af5aa5e297190dcb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If an exception is thrown by a Java extension function Joost doesn't report an error nor doesn't emit a warning. If such function is called directly from STX, Joost simply omits the value (assumed one is trying to get a value from the function via &amp;lt;stx:value-of select=...) and continues processing silently. If such function is called from within embedded XSLT code, Joost silently closes all tags opened by the XSLT part and continues processing. No error is logged. &lt;/p&gt;
&lt;p&gt;Maybe this has something to do with bug [2840583]?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
momo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Provide full exception stacktrace from extension functions</title><link href="https://sourceforge.net/p/joost/bugs/87/" rel="alternate"/><published>2009-08-19T20:53:11Z</published><updated>2009-08-19T20:53:11Z</updated><author><name>Oliver Becker</name><uri>https://sourceforge.net/u/obecker/</uri></author><id>https://sourceforge.net403bd45f1a3994b71cb623e65f8d88fa49ba8aae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If an exception occurs within an extension function, Joost should provide the full stacktrace for detecting the real cause of the exception.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>extension functions: can't pass a value to a BigDecimal para</title><link href="https://sourceforge.net/p/joost/bugs/86/" rel="alternate"/><published>2009-08-19T08:05:52Z</published><updated>2009-08-19T08:05:52Z</updated><author><name>Oliver Becker</name><uri>https://sourceforge.net/u/obecker/</uri></author><id>https://sourceforge.net3c97ca6013211454594a1fd4ebe4d5665100d1ad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Consider the following STXPath code:&lt;/p&gt;
&lt;p&gt;x:callBigInteger(y:convertToBigInt(123))&lt;/p&gt;
&lt;p&gt;The method convertToBigInt will return a BigInteger, however Joost will convert this value to a number in between, which in turn Joost can't convert back to a BigInteger. The same behavior affects BigDecimal or any other derived Number type.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>extension functions: convert "" to null for wrapper types</title><link href="https://sourceforge.net/p/joost/bugs/85/" rel="alternate"/><published>2009-08-19T07:58:19Z</published><updated>2009-08-19T07:58:19Z</updated><author><name>Oliver Becker</name><uri>https://sourceforge.net/u/obecker/</uri></author><id>https://sourceforge.net43e2755dd185e03b59198e770fbd8747d3f9f797</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If a Java method parameter has a wrapper type of a primitive type (i.e. java.lang.Long, java.lang.Boolean, etc) then a passed empty string should be converted to null.&lt;br /&gt;
Currently the method will be called with a 0 (or false resp.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Message Emitters on transformers do not seem to be reset</title><link href="https://sourceforge.net/p/joost/bugs/84/" rel="alternate"/><published>2009-08-18T17:23:24Z</published><updated>2009-08-18T17:23:24Z</updated><author><name>PJ Fanning</name><uri>https://sourceforge.net/u/fanningpj/</uri></author><id>https://sourceforge.net52323b5fd4b97c73b772b6b0efe0ed30cb545b26</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
If you reuse a Joost transformer object and try to reset the message emitter before doing so, the new emitter seems to be ignored.&lt;br /&gt;
I'll upload a junit test to demonstrate.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>