Skip to content

Commit

Permalink
added missing test form
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnR committed Jul 31, 2020
1 parent 0f8df9d commit 7b520e5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions test/xform/nodename-underscore.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?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>
<_b_/>
</_g>
<meta>
<instanceID/>
</meta>
</data>
</instance>
<bind nodeset="/data/a_" type="string"/>
<bind nodeset="/data/_g/_b_" type="string"/>
<bind jr:preload="uid" nodeset="/data/meta/instanceID" type="string"/>
</model>
</h:head>
<h:body>
<input ref="/data/a_">
<label>Enter text</label>
</input>
<group ref="/data/_g">
<input ref="/data/g/_b_">
<label>Enter text</label>
</input>
</group>
</h:body>
</h:html>

0 comments on commit 7b520e5

Please sign in to comment.