-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In testing XForms 1.1 spec, example B.6, Saxon-Forms fails silently (i.e. the default instance is left unchanged)
XForms:
<xforms:xform xmlns:rest="http://exquery.org/ns/restxq" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:demo="urn:saxon-xforms:demo">
<xforms:model id="m-recipes">
<!-- B.6 -->
<xforms:instance>
<items xmlns="">
<item key="23" rating="classified"/>
</items>
</xforms:instance>
<!--do not change -->
<xforms:submission id="test" ref="." instance="hello"/>
</xforms:model>
<div id="content">
<xforms:trigger>
<xforms:label>Test it</xforms:label>
<xforms:action ev:event="DOMActivate">
<xforms:delete nodeset="item/@rating"/>
</xforms:action>
</xforms:trigger>
<xforms:submit submission="test">
<xforms:label>Export Subset</xforms:label>
</xforms:submit>
</div>
</xforms:xform>Note that I am not using the SEF included with the repo; however, I am using a newly compiled version from an unmodified saxon-xforms.xsl using Oxygen's Compile XSL stylesheet for Saxon (Oxygen 25.0, 2022101006) and running using SaxonJS-2.5 on Firefox 108.0 (Windows)
Metadata
Metadata
Assignees
Labels
No labels