How do I create JIRA issues?



David Bertoni wrote:
> 
> Moddy Te'eni wrote:
>> I think there is a problem in XObjectFactoryDefault::createString(const
>> XalanDOMString&      theValue).
>> 
>> I call it from an extension-function that I wrote.  After a few times I
>> call
>> it, it retuens a string object that came from the cache that already has
>> m_cachedNumberValue of a previous call. So if my expression is  e.g.
>> "myFunction() > 5", i get wrong results.
> Yes, that's likely a bug.  Incredible that it's been there for so long 
> without being tripped.
> 
>> 
>> I overcame my problem by calling XObjectFactoryDefault::createString(
>>                      const XalanDOMChar*             theValue,
>>                      unsigned int                    theLength)
>> 
>> that doesnt use m_xstringCache.
>> 
>> Am I doing something wrong or is it a bug?
>> 
>> I'm using Xalan-c 1.10
> I'll take a look and try to provide a patch for the SVN trunk.
> 
> Could you please create a Jira issue to track this?
> 
> Thanks!
> 
> Dave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-in-cached-numbers-in-Xstring---tp24034446p24042313.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to