W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: xmlmd:foo

From: Paul W. Abrahams <abrahams@valinet.com>
Date: Tue, 30 May 2000 18:20:38 -0400
Message-ID: <39343EB6.1BCFB698@valinet.com>
To: David Hunter <david.hunter@mobileQ.COM>
CC: xml-uri@w3.org
David Hunter wrote:

> From: Paul W. Abrahams [mailto:abrahams@valinet.com]
> Sent: Tuesday, May 30, 2000 12:42 PM
> >
> > It's pretty straightforward, really.  Here's the idea, modulo
> > debugging and
> > criticism.  The xmldm:foo attribute is used in conjunction
> > with the xmlns:foo
> > attribute.  It is a URL that locates (yes, really locates) a
> > resource that
> > contains metadata concerning the namespace.
> Okay, I think I'm missing something here.  Aside from the fact that your
> attribute(s) will optionally point to any type of resource, how is this
> proposal different from the xsi:schemaLocation attribute (which some people
> seem bound and determined not to use, since we have the namespace name
> anyway)?

One version of my proposal would be, in effect,
xmlschema:foo="schemaLocation".  The difference is that the schema gets
associated with a namespace prefix and, implicitly, with a namespace name
(since there also has to be a namespace declaration for foo).  The other
version would be xmlmd:foo="schemaLocation", but now schemaLocation has to
communicate somehow, either through its name or its contents, that there's a
schema there rather than a DTD.

Does that answer the question?

Paul Abrahams
Received on Tuesday, 30 May 2000 18:20:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:59 UTC