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

Re: Names and schemas

  • From: Paul Prescod <papresco@t...>
  • To: xml-dev@i...
  • Date: Mon, 01 Jun 1998 12:15:54 -0400

protect stylesheet
Steven R. Newcomb wrote:
> 
> If that's true, then that's GREAT!
> 
> However, I keep stumbling over a problem in my own mind.  (Maybe it's
> just too obvious for me to see it.)  

No. It's an excellent question.

> Using your defined terms, please
> explain the usefulness and/or purpose -- in terms of how it furthers
> the cause of reliable, vendor-neutral information interchange -- of
> declaring that a real or conceptual object exists, in the absence of
> any interchangeable definition of what that object is, or what
> constraints it must conform to in order to be processable.

You are right: knowing that an object exists is not enough. To do
something useful with it we need more. In some cases we will need
verification and thus will want a schema or architecture. In some cases we
will need behaviour, such as that provided by a stylesheet or Java class.
In some cases we will need a semantic definition: an RDF or some other
knowledge-rep description.

In some (perhaps most!) cases we will want more than one of the above e.g.
two stylesheets, a semantic description, a couple of schemas and a Java
class. (note that I personally think that a schema is just another
behavioural specification, like a stylesheet or Java class...I separate
them out in this discussion for those who don't agree)

So namespaces are not enough, but what you pair them with will depend on
your needs. I suspect that in the business you and I are in, the schema
will be most important. But XML is predicated on the idea that sometimes
you want to do processing without a schema and I think that it is
demonstrably true that sometimes you want more than one to apply to the
same element, based on its type.

I also believe that the association between schemas, stylesheets and java
classes can occur in many places. It could be in the document, in its
"dictionary", in one of the schemas, in the java class and even in the
stylesheet. Those all seem like appropriate places to do the association
in certain situations. For example, a stylesheet can "protect itself" from
being used on inappropriate data by embedding a reference to a schema. A
schema could reference a stylesheet fragment in its per-element meta-data.

So my point is that the whole thing is complicated and highly variable. I
don't think that we should make a rule that namespaces must be defined by
schemas, and especially not in any specific schema language (even
archforms). In some circumstances, a Java .JAR file could be as valid a
namespace definition structure as a schema.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Three things it is far better that only you should know:
How much you're paid, the schedule pad, and what is just for show


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.