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

RE: A certain difficulty

  • From: Arjun Ray <aray@q...>
  • To: xml-dev@x..., www-rdf-interest@w...
  • Date: Tue, 22 Feb 2000 19:51:38 -0500 (EST)

greg fitzpatrick sales


On Tue, 22 Feb 2000, Assini, Pasqualino wrote:

> > This led to suboptimal decisions such as redeploying the
> > HTML-inspired idea of sticking a URL (a resource reference) into
> > an attribute.
> 
> Interesting, can you add more on that ?

In RDF, URLs (or "Resources") are first-class data items; in fact, the
assertion chains are all supposed to resolve ultimately to resources,
because "it's all about resources".  There is therefore an imperative
need to *refer* to these resources.  In the SGML/XML formalism, it's
normal to provide for this referential requirement by arranging to
give the "object" a (local) name, and then invoking the name
referentially.  This is what happens with an entity reference, for
instance.  It's also what happens with an IDREF attribute, where the
natural referent is the content of the element with the ID.  The one
thing that's not possible to reference directly is the value of an
attribute.  So, as a rule, you don't put data that you may need to
refer to into attributes - you put them in elements, give the elements
IDs, and use IDREFs to your heart's content.

Yet, RDF does a lot of attribute stuffing with its basic categories of
data.  The basic "reason" for this, of course, is that the normal way
to deal with such data (making it the text content of an element) runs
afoul of -ahem- "what HTML browsers do".  It's called KTWSFN - Keeping
The Web Safe For Netploder.  The result is that the rest of the syntax
has to jump through hoops to reconstruct those basic referential needs
somehow.  I don't even *know* if the syntax actually manages it.


Arjun



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html
***************************************************************************

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.