<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" 
    xmlns:ev="http://www.w3.org/2001/xml-events" 
    xmlns:h="http://www.w3.org/1999/xhtml" 
    xmlns:jr="http://openrosa.org/javarosa" 
    xmlns:odk="http://www.opendatakit.org/xforms" 
    xmlns:orx="http://openrosa.org/xforms" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <h:head>
        <h:title>data</h:title>
        <model>
            <instance>
                <data id="data">
                    <a/>
                    <g>
                        <!-- warning -->
                        <a/>
                        <!-- another warning -->
                        <g/>
                    </g>
                    <rep>
                        <b/>
                    </rep>
                    <rep>
                        <!-- no warning because it is a repeat instance -->
                        <b/>
                    </rep>
                    <meta>
                        <instanceID/>
                    </meta>
                </data>
            </instance>
            <bind nodeset="/data/a" type="string"/>
            <bind nodeset="/data/g/a" type="string"/>
            <bind jr:preload="uid" nodeset="/data/meta/instanceID" readonly="true()" type="string"/>
        </model>
    </h:head>
    <h:body>
        <input ref="/data/a">
            <label>Enter text</label>
        </input>
        <group ref="/data/g">
            <input ref="/data/g/a">
                <label>Enter text</label>
            </input>
        </group>
    </h:body>
</h:html>