[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: List of differences between XML and JSON?

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: Thomas Passin <list1@tompassin.net>,"xml-dev@l..." <xml-dev@l...>
  • Date: Sat, 02 May 2015 09:11:59 -0400

Re:  RE: List of differences between XML and JSON?
At 2015-05-02 08:52 -0400, Thomas Passin wrote:
XML markup isn't fundamentally limited to "hasA".
The specific aspect being discussed was XML syntax.

Consider RDF. ... an "existential conjunctive" language, which means that it can declare both isA and hasA notions. RDF graphs can be expressed with an XML syntax. Therefore, (at least some) XML languages are able to express isA.
Absolutely, yes ... I said it myself:

At 2015-05-01 17:24 -0400, G. Ken Holman wrote:
Anyone gets to interpret "isA" any way they wish, but in the syntax ... the start and end tags contain ("hasA") their descendants.
Interpretation of content is in the eye of the beholder. Just because I choose to mark up text with my understanding of a semantic behind why I marked it up, anyone else can choose to interpret the markup any way they wish.

The "hasA" is inherent in the syntax. Elements have attribute. Elements have descendants. Elements and attributes can have very rich labels using namespaces so as to unambiguously label what has what.

But XML stops there ... it is the applications conferring semantics on what has been marked up that adds layers of "isA" or anything else on the marked up content.

All power to anyone who wishes to interpret what has been marked up any way they want ... including the RDF semantics.

So, I believe the "isA" you have described is a property of the RDF, not a property of the XML that expresses the RDF.

At 2015-05-02 08:52 -0400, Thomas Passin wrote:
No, XML expresses *relationships*, which may or may not be hierarchical. You can describe fully non-hierarchical data, such as maps or graphs, with several different methods.
I disagree ... I believe it is the application interpreting the syntax to infer a relationship between content that has been marked up only with "hasA". Even ID/IDREF is but the property of having a pointer ... it is up to the application to interpret what that pointer means.

. . . . . . . Ken


--
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm |
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ |
G. Ken Holman mailto:gkholman@CraneSoftwrights.com |
Google+ profile: http://plus.google.com/+GKenHolman-Crane/about |
Legal business disclaimers: http://www.CraneSoftwrights.com/legal |


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com



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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.