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

Re: XML Namespace

  • From: Rick Jelliffe <ricko@a...>
  • To: James Robertson <jamesr@s...>
  • Date: Tue, 01 Sep 1998 03:52:51 +1100

namespace bloating message
James Robertson wrote:
> 
> At 07:26 31/08/1998, John Cowan wrote:
 
>   | Learn to relax and live without DTDs.  The new namespace proposal
>   | makes them useless anyway, so people are now trying to develop
>   | various replacements for them.
> 
> Doesn't this statement make people scared?!?
 
No, because it simply isnt so.  Having namespaces merely expands the
richness of the vocabulary available to document system designers. 
Applications for which XML DTDs are best suited will continue to use
DTDs.  Applications which can stand 100s of Ks of schema data will use
instance syntax.  Applications for which existing AFDR syntax
(attributes for architectural forms) are clearly appropriate will use
AFDR syntax.  People who find that PIs fit will use them; people who
like embedding markup in comments or creating their own embedded markup
landuages will find some excuse to do that.  

The important thing is that document system designers understand when it
is appropriate to use each one.  Namespaces as now proposed do not make
DTDs useless: as far as I can see the proposal does not really impact on
whether a full DTD is useful or not much at all (except for the limited
case of fixed or defualting attributes for the prefix and namespace name
themselves, which has hardly been the prime use of DTDs up to now).  The
fact that DCD takes the namespace URI and uses it to key which DTD or
schema to use is no different from what people do with attributes all
the time: they use attribute values to figure out what processing is
required for an element.

XML wasnt designed on a minimalist principle (what is the smallest we
can get away with?) but more on the optimalist principle (can we satisfy
80% of needs with something only 20% of the complexity?). As far as I
can see, the XML WG has placed quite a high emphasis on keeping (SGML's)
richness; the provision of Namespaces only confirms this impression
(that richness is more important to the WG than terseness or
minimalism). DTDs have proved themselves in the field for many years and
dont require more defense; if other syntaxes arrive which are more
appropriate in their own circumstances than DTDs, that is no slur on
DTDs. 

Namespaces certainly provide a good set of hooks for external schemas,
but such hooks can be provided in fixed attributes in DTDs just as
readily as in attribute values in the instance.  In fact, for size
reasons, having namespace attributes declared in fixed attributes in
DTDs may be more preferable than bloating the instance with repeated
attributes. Counter to John Cowan, namespaces may, for some document
types, make an explicit DTD *more* attractive, not less!


Rick Jelliffe

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.