- From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
- Date: Wed, 1 Jun 2011 09:10:41 +0000
- To: Steven Pemberton <Steven.Pemberton@cwi.nl>
- CC: Forms WG <public-forms@w3.org>, Steven Pemberton <Steven.Pemberton@cwi.nl>
Steven, Couldn't we use auto generated binds that attach the type information to the nodes for that? Regards, Nick van den Bleeken On 30 May 2011, at 14:41, "Steven Pemberton" <Steven.Pemberton@cwi.nl> wrote: > I should note a slight difference with what we had earlier agreed that dawned on me while firming it up, that got in the way of round-tripping. > > In the transformation of > {"size": 50} and {"size": "50"} > you can't tell the difference if you transform both to > <json><size>50</size></json> > > So I've use the type attribute to (arbitrarily) mark the numeric case: > > <json><size type="number">50</size><json> > > Similarly with the boolean and null cases. > > Steven > > > On Fri, 27 May 2011 16:51:50 +0200, Steven Pemberton <Steven.Pemberton@cwi.nl> wrote: > >> I have rewritten the JSON section, according to my action item. >> >> http://www.w3.org/MarkUp/Forms/wiki/Json >> >> Comments gladly received. >> >> Steven > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > ________________________________ Inventive Designers' Email Disclaimer: http://www.inventivedesigners.com/email-disclaimer
Received on Wednesday, 1 June 2011 09:13:27 UTC