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

Re: Section 1-6

From: Erik Bruchez <erik@bruchez.org>
Date: Tue, 19 Jan 2016 21:47:04 -0800
Message-ID: <CAAc0PEU4u5HjUAsaVvdsfP1vQYmvPOPmi0MUuBask=eAdrG2YA@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:45 UTC