<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml">
    <head>
        <title>7.5.b error not in modal item property causes an xforms-binding-exception</title>
        <xforms:model>
            <xforms:instance>
                <favorite_colors xmlns="">
                    <favorite>red</favorite>
                    <favorite>blue</favorite>
                    <favorite>green</favorite>
                </favorite_colors>
            </xforms:instance>
        </xforms:model>
        <link rel="stylesheet" href="../../driverPages/forms/TestSuite11.css" type="text/css"/>
    </head>
    <body>
        <xforms:group>
            <xforms:label class="title">
                7.5.b error not in modal item property causes an xforms-binding-exception
            </xforms:label>
        </xforms:group>
        <xforms:group>
            <xforms:label>
                You must see an xforms-binding-exception message or a fatal error due to an 
				xforms-binding-exception. 
            </xforms:label>
        </xforms:group>
        <xforms:output ref="favorite[digest('abc', 'SHA-1', 'INVALID') != '']">
            <xforms:label>I have this many favorite colors:</xforms:label>
            <xforms:message ev:event="xforms-binding-exception" level="modal">
                xforms-binding-exception
            </xforms:message>
        </xforms:output>
    </body>
</html>
