Firefox - nothing shows

The Backbase 4_2_1 beginner tutorial example application WORKS under Safari 3.0.4 but DOES NOT WORK under Firefox 2.0.0.8 (Mac OS X 10.4.11).

<!---->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>
        <title>Backbase 4.1 Example</title>
        <script type="text/javascript" src="/Backbase/4_1_2/engine/boot.js" />
</head>

<body>

<script type="application/backbase+xml"
        xmlns:b="http://www.backbase.com/2006/btl"
        xmlns:c="http://www.backbase.com/2006/command"
        xmlns:d="http://www.backbase.com/2006/tdl"
        xmlns:e="http://www.backbase.com/2006/xel"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns="http://www.w3.org/1999/xhtml">

       
        <xi:include href="/Backbase/4_1_2/bindings/config.xml" />
       
        <div>
                <e:handler event="click" type="text/javascript">
                        alert('This is a working Backbase installation');
                </e:handler>
                Click Here
        </div>
</script>

</body>

</html>

Search 4.1.2 forum using keyword "nothing shows" for a mirror-image problem under MSIE.

Note that using the "Alternate Engine Syntax" DOES WORK under both Safari and Firefox:

<!---->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>
        <title>Backbase 4.1 Example</title>
        <script type="text/javascript" src="/Backbase/4_1_2/engine/boot.js" />
</head>

<body>

<xmp backbase="true"
        xmlns:b="http://www.backbase.com/2006/btl"
        xmlns:c="http://www.backbase.com/2006/command"
        xmlns:d="http://www.backbase.com/2006/tdl"
        xmlns:e="http://www.backbase.com/2006/xel"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns="http://www.w3.org/1999/xhtml">

       
        <xi:include href="/Backbase/4_1_2/bindings/config.xml" />
       
        <div>
                <e:handler event="click" type="text/javascript">
                        alert('This is a working Backbase installation');
                </e:handler>
                Click here to check for proper installation...
        </div>
</xmp>

</body>

</html>

Can anyone explain this?

script tag

Hi-

I had the same problem. Running your test on Vista/FF2.0.0.11 results in an empty page.
The way I fixed it was to make sure that the script tag is not empty.

This fixes it for me:

<script type="text/javascript" src="/Backbase/4_1_2/engine/boot.js"><!-- --></script>

Make sure you stick something in between the tags so that whatever technology you are using does not "optimize" the tags back into a single tag.

I'm not sure why the alternate syntax works for you- i didn't test it- but you might want to see if this fixes it for you. Otherwise, a blank page also occurs if your Backbase path is wrong, so you might want to double check that too.

up

script tag

Thanks, that worked for me. Even without the comments inside the script tag:

<script type="text/javascript" src="/Backbase/4_1_2/engine/boot.js"></script>

Why the alternate syntax does not require writing the script tag this way is another perplexing question... but I'll try not to think about it :-)