[ 
https://issues.apache.org/jira/browse/XALANC-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bertoni reassigned XALANC-691:
------------------------------------

    Assignee: David Bertoni

> Xstring is created with already cached number
> ---------------------------------------------
>
>                 Key: XALANC-691
>                 URL: https://issues.apache.org/jira/browse/XALANC-691
>             Project: XalanC
>          Issue Type: Bug
>    Affects Versions: 1.10
>            Reporter: Moddy Te'eni
>            Assignee: David Bertoni
>            Priority: Minor
>         Attachments: XALANC-691.patch
>
>
> XObjectFactoryDefault::createString(const XalanDOMString&)  may return an 
> Xstring object from the cache, while keeping m_cachedNumberValue from 
> previously used string. Therefore, num() returns a wrong result.
> possible workaround is using XObjectFactoryDefault::createString( const 
> XalanDOMChar*, unsigned int)
> I encountered  it when writing an external function,  and using it later with 
> "myFunction() > 5".
> see also 
> http://www.nabble.com/problem-in-cached-numbers-in-Xstring---td24034446.html 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to