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

Re: XLink a special case in the self-describing Web?

  • From: Paul Prescod <paul@p...>
  • To: xml-dev@X...
  • Date: Tue, 23 May 2000 18:41:39 -0500

inherited special case
"Steven R. Newcomb" wrote:
> 
> ....
> 
> .... Is the idea of "equivalence classes" that all of
> the constraints contributed by X:Foo and Y:Bar are fully (and
> automatically) inherited by Garp, and that therefore it's only
> necessary for instances to be validated against Garp, rather than
> against X:Foo and Y:Bar?

As I understand it, that is the idea.

> If the passing of constraints to equivalence classes is automatic, can
> the declaration for element type "Garp" further constrain X:Foo's
> constraints and Y:Bar's constraints?  This is also a business
> requirement for distributing control over industrial vocabularies.

Yes, this can also be done.

> > > (2) XLink is now just attributes; the element type can be anything.
> > >     This permits a single element to be recognized as an XLink and as
> > >     whatever else it may be.  (Whatever else it may be, it may still
> > >     only be one element type in one single namespace, as far as I
> > >     know.)  This is a kind of sleight-of-hand: XLink elements are
> > >     still XLink elements; we still expect certain combinations of
> > >     attributes to appear in certain contexts and not in others.
> >
> > Theoretically XLink could use the equivalence class mechanism. So
> > yourlink would be defined as a "kind of" xlink. But I haven't tried it
> > so take that with a grain of salt.
> 
> I'm confused.  I thought equivalence classes pertained to elements.
> The current XLink draft doesn't define any element types.

That's what I mean by "theoretically". The current XLink draft predates
schema equivalence classes. XLink is so far behind schedule that I would
be amazed if its creators have the stomach to reorient it based on more
generic facilities.

The only "snag" is that XLink is built around the XML philosophy of
non-dependence on external schemas. XLink users will be encouraged to
use XLink attributes inline, no matter how poor that idea is in
practice.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
Just how compassionate can a Republican get before he has to leave the 
GOP and join Vegans for Global Justice? ... One moment, George W. Bush
is holding a get-to-know-you meeting with a bunch of gay Republicans.
The next he is holding forth on education or the environment ... It is
enough to make a red-blooded conservative choke on his spotted-owl
drumstick.     - April 29th, Economist



***************************************************************************
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/
***************************************************************************

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.