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

Re: Attributes with Intent (and namespaces)

  • From: james anderson <James.Anderson@m...>
  • To: "xml-dev@i..." <xml-dev@i...>
  • Date: Fri, 03 Jul 1998 15:52:56 +0200

james localpart
please bear with me; maybe we're getting to something here...

MURATA Makoto wrote:
> I strongly disagree.  The whole point of the namespace extension is to
> allow applications to tell which namespace a name belongs to.  A qualified
> name is not an opaque object.  Application programs should and will care
> the attached URI.

why?

so far, as i've understood namespaces (wrt xml):
1. the NSDef will bind an URI literal. beyond that the value is of unspecified
form and content.
2. the prefix has a bearing on encoding and decoding only.
3. the universal name arises through the uniqueness of values in the relation
(NSDef.SystemLiteral X QName.LocalPart)

i presume everyone agrees up to here. ...

now, to the reasons the <EM>value</EM> of the uri does not matter to an application:
4. the purpose of the mechanism "articulating" the namespace is to control the
scope of
   declarations made about a name. this is, among other things, the
schema-reuse goal in
   the wd.
5. the application's concern is that, given a universal name, it can determine the
    declarations or effect the declared behaviour.
6. to accomplish this, the application will depend on functions of the form
   (UniversalName) -> (Declaration + Behaviour)
7.  there are no occasions when the application will need a function of the form
   (URI) -> (Declaration + Behaviour)
8. functions of the forms
   (URI X LocalPart) -> UniversalName or UniversalName -> (URI X LocalPart) or even
   (URI X UniversalName ) -> UniversalName
   are necessary for dom construction operations only.
   (yes, this is not a w^3 conform dom, and yes i advocate that the
application use a dom)
9. functions of a form such as
   (URI X LocalPart) -> (Declaration + Behaviour)
   are unnecessary, since, at the application level, <EM>given a dom</EM>
operation of the
   form
   (URI X LocalPart) -> UniversalName
   simply makes no sense. they whould be well constructing names which have no declarations.
   in order words, "the uri does not matter to the application".
10. where the intent is to establish a relation between two universal names,
    (see the forgoing discussion in this thread)
    there may be a need for functions in domains such as
   (URI X URI) -> ? or (UniversalName X UniversalName) -> ?
   but the effects of these (and here i again cross the line to advocacy)
should be declared
   at the decoding level, just as with operations using functions
   (Prefix X URI) -> NSRegion
   which declare namespace regions, .

given the exposition above, where do we diverge?

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.