[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <d.p.carlisle@g...>
  • To: Roger L Costello <costello@m...>
  • Date: Sun, 23 Jan 2022 23:23:54 +0000



On Sun, 23 Jan 2022 at 23:15, Roger L Costello <costello@m...> wrote:
Hi Folks,

An XML language can be created to express Bookstores. Another to express network router data. Another for census data. And so forth.

The set of XML languages that has already been created is vast and diverse.

How big is the set of possible XML languages?

How big is the set of possible JSON languages?

Is the set of possible XML languages a superset of the set of possible JSON languages? If yes, would you give an example of an XML language for which there is no possible JSON language?

You ask the question as if there is a clear distinction. But it's not a matter of expressibility, just ease of use.  Some things are easier to encode as json, some as xml.
Any xml document can be encoded as a single json string, and any json expression can be encoded as the content of a single xml element.

David
,


/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member