XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] #Announce published JXML schema, an XML schema for representing the JSON data model

Good question.
But in JSON arrays can be of any value type e.g.

[  "string" , 123, null , { "foo": "bar" } ]




----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org


-----Original Message-----
From: Stephen Green [mailto:stephengreenubl@gmail.com] 
Sent: Thursday, February 03, 2011 11:41 AM
To: David Lee
Cc: xml-dev@lists.xml.org
Subject: Re: [xml-dev] #Announce published JXML schema, an XML schema for
representing the JSON data model


With the 'array', the schema allows array members of different
datatypes; shouldn't it be enforced that they all be the same type?

----
Stephen D Green



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS