Re: Library Standards and URIs

Terry Allen <terry@ora.com> Tue, 03 January 1995 22:04 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa08390; 3 Jan 95 17:04 EST
Received: from [132.151.1.1] by IETF.CNRI.Reston.VA.US id aa08386; 3 Jan 95 17:04 EST
Received: from services.Bunyip.COM by CNRI.Reston.VA.US id aa20619; 3 Jan 95 17:04 EST
Received: (from daemon@localhost) by services.bunyip.com (8.6.9/8.6.9) id QAA15762 for uri-out; Tue, 3 Jan 1995 16:11:32 -0500
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.9/8.6.9) with SMTP id QAA15757 for <uri@services.bunyip.com>; Tue, 3 Jan 1995 16:11:28 -0500
Received: from rock.west.ora.com by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA28123 (mail destined for uri@services.bunyip.com) on Tue, 3 Jan 95 16:11:24 -0500
Received: by rock (8.6.8/)
Message-Id: <199501032109.NAA21261@rock>
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Terry Allen <terry@ora.com>
Date: Tue, 03 Jan 1995 13:09:19 -0800
In-Reply-To: Larry Masinter <masinter@parc.xerox.com> "Re: Library Standards and URIs" (Jan 3, 12:20pm)
X-Mailer: Mail User's Shell (7.2.0 10/31/90)
To: Larry Masinter <masinter@parc.xerox.com>, rdaniel@acl.lanl.gov
Subject: Re: Library Standards and URIs
Cc: uri@bunyip.com
X-Orig-Sender: owner-uri@bunyip.com
Precedence: bulk

| We can't eliminate the chaos that already exists in the world of
| meta-data for documents; trying to invent a 'core' set doesn't reduce
| the chaos, in fact, but rather adds to it, by introducing yet another
| *new* attribute set.

Not chaos, but variability.  Anyway,

| Naming each attribute *set* rather than each individual attribute will
| reduce the length to be something managable. It might be possible to
| also allow individual attributes to be named even if they don't occur
| in the overall set.
| <urc scheme="urn:iana:here.there.org:foo">
| <author>...</author>
| <title>...</title>
| <author scheme="urn:iana:banana.br:trigram">
| </author>
| </urc>

This example seems to mix one overall scheme (here...) with
a scheme local to an individual element (banana...).  Wouldn't
it be better to offer instead only a choice of overall schemes,
on the assumption that the components are defined by the overall
scheme?

If that's to be done in SGML (which I am not advocating), schemes
with different URCs will have different allowable contents.  It is
one of SGML's weaknesses that attributes can't affect content
models (you can't say in the DTD that <urc scheme="foo"> shall
contain only those elements allowed by scheme foo).  So a better
approach (if SGML is really desired) would be to have one element
for each flavor of URC:  urc.foo, urc.here, urc.banana.  Then
in the DTD one could require that urc.foo have only the 
desired content.



-- 
Terry Allen  (terry@ora.com)   O'Reilly & Associates, Inc.
Editor, Digital Media Group    103A Morris St.
			       Sebastopol, Calif., 95472
A Davenport Group sponsor.  For information on the Davenport 
  Group see ftp://ftp.ora.com/pub/davenport/README.html
	or  http://www.ora.com/davenport/README.html