[UPDATED] Summary of elements that carry @value in XForms 2 Re: Issues with respect to <output/> mixed content.

Summary of elements that carry @value in XForms 2

[D]=deprecated
*=exception to the rule "@value overrides element content".
?= Should we deprecate?

  ELEMENT                 CONTENT   EXAMPLE

*function/result         Empty     <result value="math:power(1+$sqrt5,  
$n)"/>
*function/var            Empty     <var name="sqrt5" value="math:sqrt(5)"/>

  label                   PCDATA
  hint                    PCDATA
  help                    PCDATA
  alert                   PCDATA

*output                  -
*output/mediatype[D]     EMPTY

  select¹/item            <value/> or PCDATA
                                    <item label="Credit">cc</item>
                                    <item label="Credit" value="'cc'"/>
                                    <item  
label="Credit"><value>cc</value></item>
                                    <item label="Credit"><value  
value="'cc'"/></item>
                                    <item><label>Credit</label><value>cc</value></item>
                                    <item><label>Credit</label><value  
value="'cc'"/></item>
  select¹/value           PCDATA
*select¹/itemset         <value/>

  submission/resource[D]  PCDATA
  submission/method[D]    PCDATA
*submission/header       <value/>
                                    <header name="Accept"
                                            value="'application/sparql-results+xml'"
                                            combine="replace"/>
?submission/header/name  PCDATA    DEPRECATE?
?submission/header/value PCDATA    DEPRECATE?

  setvalue                PCDATA
  action/param            PCDATA

  toggle/case             PCDATA
  setfocus/control        PCDATA

  dispatch/name[D]        PCDATA
  dispatch/targetid[D]    PCDATA
  dispatch/delay[D]       PCDATA
  dispatch/property       PCDATA

  load/resource[D]        PCDATA
  message                 PCDATA

Received on Wednesday, 25 April 2018 12:18:01 UTC