- From: Erik Bruchez <erik@bruchez.org>
- Date: Tue, 19 Jan 2016 21:47:04 -0800
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Received on Wednesday, 20 January 2016 05:47:53 UTC
All,
> In particular, I would be grateful for more eyes on
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#External_JSON_values
> which has had a lot of changes in the last week.
I reviewed the JSON examples and they look good except for one issue with
the example `{"g": [["a", "b", "c"], ["d", "e"]]}`. The current JSON has:
<json type="object">
<g type="array">
<_ name="" type="array">
<_>a</_>
<_>b</_>
<_>c</_>
</_>
<_ name="" type="array">
<_>d</_>
<_>e</_>
</_>
</g>
</json>
But the `name=""` attributes are extra, and the result should be:
<json type="object">
<g type="array">
<_ type="array">
<_>a</_>
<_>b</_>
<_>c</_>
</_>
<_ type="array">
<_>d</_>
<_>e</_>
</_>
</g>
</json>
A minor thing: one example of selectors starts with a `./`:
`./_[1]`
while all other examples don't. I suggest making it consistent and dropping
the starting `./`.
-Erik
Received on Wednesday, 20 January 2016 05:47:53 UTC