AlexB - 2013-10-10

WebHarvest version: 2.001
Java runtime: 1.7.0_17

When using JavaScript as a default scripting language in the config, then text "islands" are not text.

Here is the small example:

<?xml version="1.0" encoding="UTF-8"?>

<config scriptlang="javascript">
    <var-def name="test">
        <text>hello</text>
    </var-def>
    <var-def name="dest">
        <template>${test}</template>
    </var-def>
</config>

Variable `dest' is assigned "org.mozilla.javascript.NativeJavaObject@29772c98" instead of a string "hello". All other scriptlang values yield correct result.

How do I convert text islands to text?

Thanks
Alex

 
Last edit: AlexB 2013-10-10