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

Re: Names and schemas

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@i...
  • Date: Mon, 01 Jun 1998 09:37:43 -0700

Re: Names and schemas
At 10:14 AM 6/1/98 -0500, Steven R. Newcomb wrote:
>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.

No kidding.  Actually, the people I talk to worry more about rendering,
or running Java code on, said declared-but-opaque object, but validation
constraints are of equal importance.  My usual sound-bite on this is: XML 
makes it easy to invent a tag, but what's that buy you?  Nothing, unless 
you are willing to provide at least one of 

 (a) a stylesheet for rendering, and/or
 (b) some software to *do* something with it.

and if you want to support authoring or update, 

 (c) validation rules.

I think we can all agree that elements are not interesting without one
or more items from the list above.  

Having said that, namespaces all by themselves do have a couple of 
useful applications.  The most obvious, of course, is for software that
understands and knows how to deal with some particular element (e.g. 
MathML <Integral> or HTML <FORM>), and simply wants to run through
an otherwise-opaque document, find the elements he knows how to deal
with, and do his stuff.  Namespaces provide a reliable and robust way
to enable this.

I don't really agree with Paul Prescod's argument that the current 
namespace draft invades schema turf.  It does state that presumably
namespaces will in general have associated schemas (surely no-one here
disagrees?), but it bends over backward to avoid relying on the existence, 
availability, or format of these schemas.  At the moment, based on some 
off-line experimentation, I do think that the namespace facility will 
lend itself quite elegantly to the construction of partial composable 
schemas, the need for which is not in doubt. -Tim


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.