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

RDDL: Should xlink:arcrole or xlink:role be the primary way todispatch o

  • From: Jonathan Borden <jborden@m...>
  • To: "Henry S. Thompson" <ht@c...>
  • Date: Wed, 10 Jan 2001 13:26:30 -0500

xlink role
Henry S. Thompson wrote:

> "Jonathan Borden" <jborden@m...> writes:
> >
> > I also agree with Jason's analysis. Practically since RDDL was
conceived,
> > I've been going back and forth on what should an arcrole vs. role be
w.r.t
> > RDDL. Indeed one morning while driving to work, I suddenly became
conviced
> > that we'd got it all wrong, and confused an arcrole for a role. At the
end
> > of the day I'd conviced myself that arcrole was fine and that was
that...
>
> But you go on to contradict what Jason, Tim and I are all saying!  See
> below.

    I would like to discuss the use of xlink:arcrole vs. xlink:role as a way
to specifify related resources in RDDL.  I will discuss the relationship
between the root namespace URI and types in a separate message.

    What I am saying is that I can see arguments for either using
xlink:arcrole as the primary resource specifier and xlink:role as secondary,
or the other way around, depending on how the situation is analyzed.

    Note that the argument I present below is dependent on my reading of Ron
Daniel's xlink2rdf w3c note: http://www.w3.org/tr/xlink2rdf ... i've cc'd
Ron and Eve Maler, to give them the opportunity to clarify or correct my
analysis, and as I've said before, I can see both sides of the argument, so
if after the arguments are presented and discussed, the group decides one
way, I will agree.

    Here is the argument for using xlink:arcrole as the 'primary' name:

    I like to work out most problems involving links by drawing a graph of
circles and arrows. Think of a RDDL document as a node which contains a set
of arrows representing links to related resources. Each of these resources
has a type.

    Using Ron's analysis, the arrow or arc connecting the document to its
related resources is named by the attribute xlink:arcrole. The xlink:role
defines another arrow between the related resource and its type.

    To me it seems most natural to have the most important, or primary way
to name a related resource as an arc from the RDDL document to the related
resource and that the xlink:arcrole be the name of this arc.

    From a software point of view, it is equally efficient either way. My
implementation works equally well if we globally substitute "role" for
"arcrole".


-Jonathan



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.