W3C home > Mailing lists > Public > public-xformsusers@w3.org > October 2016

Select element

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 26 Oct 2016 12:20:58 +0200
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.ypxq08pbsmjzpq@steven-aspire-s7>
One last issue before I send out the agenda.

"A limitation of the XML Schema list datatypes is that white space  
characters in the storage values (the value element) are always  
interpreted as separators between individual data values. Therefore,  
authors should avoid using white space characters within storage values  
with list simpleContent."

It has always displeased me that you can't necessarily just turn a  
<select1> into a <select>, by deleting the "1".

<select1 ref="country">
<item><label>USA</label><value>The United States of America</value></item>
<item><label>UK</label><value>United Kingdom</value></item>
<item><label>Netherlands</label><value>The Netherlands</value></item>
</select1>

Fine as a select1, not as a select.

Maybe I should just live with it, but I really would like to have a  
(simple) method of allowing a select with spaces.
You can do it with the complication of using <copy>, but somehow, if the  
bound type is a list, it would be great to just allow it.

Steven
Received on Wednesday, 26 October 2016 10:21:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 26 October 2016 10:21:36 UTC