Last active
April 24, 2019 18:17
-
-
Save ebruchez/0203b5c0b8c91548a09c625df3124802 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" | |
xmlns:xxf="http://orbeon.org/oxf/xml/xforms" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:saxon="http://saxon.sf.net/" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner" | |
xmlns:xf="http://www.w3.org/2002/xforms" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:sql="http://orbeon.org/oxf/xml/sql" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:exf="http://www.exforms.org/exf/1-0" | |
xmlns:array="http://www.w3.org/2005/xpath-functions/array" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:fb="http://orbeon.org/oxf/xml/form-builder" | |
xmlns:map="http://www.w3.org/2005/xpath-functions/map" | |
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" | |
fr:data-format-version="4.0.0"> | |
<xh:head> | |
<xh:title>Inserting iteration before causes "illegal state when comparing controls" #4035</xh:title> | |
<xf:model id="fr-form-model" xxf:expose-xpath-types="true" xxf:analysis.calculate="true"> | |
<xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all" xxf:index="id"> | |
<form> | |
<top-level-section> | |
<top-level-section-iteration> | |
<control-1/> | |
<nested1> | |
<control-2/> | |
</nested1> | |
<nested2> | |
<nested3/> | |
</nested2> | |
</top-level-section-iteration> | |
</top-level-section> | |
</form> | |
</xf:instance> | |
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')"> | |
<xf:bind id="top-level-section-bind" name="top-level-section" ref="top-level-section"> | |
<xf:bind id="top-level-section-iteration-bind" ref="top-level-section-iteration" | |
name="top-level-section-iteration"> | |
<xf:bind id="control-1-bind" name="control-1" ref="control-1" xxf:whitespace="trim"/> | |
<xf:bind id="nested1-bind" ref="nested1" name="nested1"> | |
<xf:bind id="control-2-bind" ref="control-2" name="control-2" xxf:whitespace="trim"/> | |
</xf:bind> | |
<xf:bind id="nested2-bind" ref="nested2" name="nested2"> | |
<xf:bind id="nested3-bind" ref="nested3" name="nested3"/> | |
</xf:bind> | |
</xf:bind> | |
</xf:bind> | |
</xf:bind> | |
<xf:instance id="fr-form-metadata" xxf:readonly="true" xxf:exclude-result-prefixes="#all"> | |
<metadata> | |
<application-name>issues</application-name> | |
<form-name>4035</form-name> | |
<title xml:lang="en">Inserting iteration before causes "illegal state when comparing controls" #4035</title> | |
<description xml:lang="en"/> | |
<created-with-version>2019.1-SNAPSHOT PE</created-with-version> | |
<updated-with-version>2019.1-SNAPSHOT PE</updated-with-version> | |
<library-versions> | |
<orbeon>1</orbeon> | |
</library-versions> | |
</metadata> | |
</xf:instance> | |
<xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all"> | |
<attachments/> | |
</xf:instance> | |
<xf:instance xxf:readonly="true" id="fr-form-resources" xxf:exclude-result-prefixes="#all"> | |
<resources> | |
<resource xml:lang="en"> | |
<nested3> | |
<label>Nested 3</label> | |
</nested3> | |
<control-2> | |
<label/> | |
<hint/> | |
</control-2> | |
<nested2> | |
<label>Nested 2</label> | |
</nested2> | |
<top-level-section> | |
<label>Top-level section</label> | |
</top-level-section> | |
<control-1> | |
<label/> | |
<hint/> | |
<alert/> | |
</control-1> | |
<nested1> | |
<label>Nested 1</label> | |
</nested1> | |
</resource> | |
</resources> | |
</xf:instance> | |
<xf:instance xxf:readonly="true" xxf:exclude-result-prefixes="#all" | |
id="top-level-section-template"> | |
<top-level-section-iteration> | |
<control-1/> | |
<nested1> | |
<control-2/> | |
</nested1> | |
<nested2> | |
<nested3/> | |
</nested2> | |
</top-level-section-iteration> | |
</xf:instance> | |
</xf:model> | |
</xh:head> | |
<xh:body> | |
<fr:view> | |
<fr:body xmlns:xbl="http://www.w3.org/ns/xbl" xmlns:p="http://www.orbeon.com/oxf/pipeline" | |
xmlns:oxf="http://www.orbeon.com/oxf/processors"> | |
<fr:section id="top-level-section-section" bind="top-level-section-bind" repeat="content" | |
min="1" | |
template="instance('top-level-section-template')" | |
apply-defaults="true" | |
fb:initial-iterations="first"> | |
<xf:label ref="$form-resources/top-level-section/label"/> | |
<fr:grid id="grid-1-grid"> | |
<fr:c y="1" x="1" w="6"> | |
<xf:input id="control-1-control" bind="control-1-bind"> | |
<xf:label ref="$form-resources/control-1/label"/> | |
<xf:hint ref="$form-resources/control-1/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c y="1" x="7" w="6"/> | |
</fr:grid> | |
<fr:section id="nested1-section" bind="nested1-bind"> | |
<xf:label ref="$form-resources/nested1/label"/> | |
<fr:grid id="grid-2-grid"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-2-control" bind="control-2-bind"> | |
<xf:label ref="$form-resources/control-2/label"/> | |
<xf:hint ref="$form-resources/control-2/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
<fr:section id="nested2-section" bind="nested2-bind"> | |
<xf:label ref="$form-resources/nested2/label"/> | |
<fr:section id="nested3-section" bind="nested3-bind"> | |
<xf:label ref="$form-resources/nested3/label"/> | |
<fr:grid id="grid-4-grid"> | |
<fr:c x="1" y="1" w="6"/> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
</fr:section> | |
</fr:section> | |
</fr:body> | |
</fr:view> | |
</xh:body> | |
</xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment