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

Re: ID/IDREF is evil

  • From: Norman Gray <norman@astro.gla.ac.uk>
  • To: Kurt Cagle <kurt.cagle@gmail.com>
  • Date: Thu, 20 Feb 2014 13:34:17 +0000

Re:  ID/IDREF is evil
Just parenthetically...

On 2014 Feb 20, at 03:55, Kurt Cagle <kurt.cagle@gmail.com> wrote:

> I've been playing in RDF (and RDFA) idioms of late. In general, if I have an outbound resource identification term (an object URI), it is typical in RDF-XML to place it into an attribute, especially if the encoding for the element is not itself RDF. RDF-XML is not my favorite mode of expression - I much prefer working with Turtle - but I'm also trying to be consistent with NIEM conventions. This combination of factors does not necessarily make for friendly XML.  :-)

I think that approximately nobody thinks that the RDF/XML syntax is anything other than sick-making.

There is an argument that its use of XML instance syntax makes it easier to introduce RDF to XML folk; but that argument, while possibly true, runs out of steam very quickly, because the RDF model is quite importantly different from XML's, which is (returning to our starting point) why RDF looks so very bizarre (or indeed perverse) when expressed in this syntax.

The only virtues of the RDF/XML syntax are (i) that it's easier to generate from an XSLT stylesheet, than is Turtle, and (ii) that it would, I suppose, have looked a bit weird if the W3C had standardised RDF back in 1999 referring to a non-XML syntax (I don't know if this was a motivation for RDF/XML in historical fact).

Until recently (last year?) RDF/XML was the sole formally standardised RDF serialisation, which is probably why it lasted somewhat longer than its natural life ('N-triples' was 'standard' but not intended to be used for interchange, and N3/Turtle was a spinoff of a TBL experiment/hobbyhorse/fundamental-initiative).  Turtle is now fully standard, and RDF/XML should now perhaps be relegated to the special cases mentioned above.

All the best,

Norman


-- 
Norman Gray  :  http://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK



[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.