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

Re: To namespace or not to Namespace ....

  • From: Liam R E Quin <liam@w3.org>
  • To: David <dlee@calldei.com>
  • Date: Wed, 07 Apr 2010 13:33:33 -0400

Re:  To namespace or not to Namespace ....
On Wed, 2010-04-07 at 13:15 -0400, David wrote:
> [...]

>  For example all the schemas have a concept of 
> linking, a concept of paragraphs etc ... while the majority of the 
> structure is domain specific, it would be nice to share the common parts.
> Which all roads leads to ....
> 
> Namespaces !!!!

In the SGML world it generally led to a shared element pool, as Eve
Maler liked (likes?) to call it.

Once you make authors deal with
    <spec1:section>
      <common:title>..</common:title>
      <spec2:topic>
        <common:purpose>
          <common:paragraph>
          <spec2:step>
           <spec9:part-number>...
they will hate you and make you wear shoes for the rest of your life.

But you are right, it's technically possible. In many programming
languages, namespaces would let you say,

    import common;
    import section from spec1;
    import topic, step from spec2;
    import part-number from spec9;

and then use unqualified names. That sort of functionality can be a
great help, but it is not what XML namespaces do today.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.