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

Hierarchical namespaces. Re: Namespace for HTML (Signup Here)

  • From: "Paul Tchistopolskii" <paul@q...>
  • To: <xml-dev@i...>
  • Date: Mon, 6 Sep 1999 16:20:03 -0700

javaconnector api

> Both Tim Bray and David Megginson proposed we settle on the Namespace URI
> for HTML.  I think this is a clear enough and small enough task for us
> (XML-DEV) to accomplish here and now.

I'm having impression that I'm stupid, but 
I don't think that  designing even trivial hierarchy 
is small and easy task, if  taking  into account that  
almost any hierarchy should consider future inheritance.

The URIs will appear in thousands of documents. 

I guess that folks who designed UNIX were not happy  
with  their 'creat'  syscall  ( instead of 'create' ).  

It's to illustrate my point that sometimes just one character
matters. Of course, the URIs problem it's a small problem 
if comparing it with other problems of XML. 

Anyway. The URI is very importent chunk of information 
about the namespace. Maybe it's my mistake to consider 
it to be important, but my experience shows me that 
when designing public API's spending just one day   
thinking about  good naming convention is importent.

In case that I have missed some previous attempt of 
W3C to design the structure of URI sufficient for a  long 
run, could anybody please point me the URL I can read 
on this?

> Here are some candidates:
> 
> 1) "http://www.w3.org/Markup/" - by David Megginson

The best one. I like it more than other variants. It is clear 
hierarchy :

Vendor
    Area

But it is not perfect. Were is the word HTML here?
What would be the relation with XHTML ?

I think this name could be improved to become:

http://www.w3.org/Markup/HTML

Which  would allow

http://www.w3.org/Markup/XHTML

In the future.
      
1. I don't think TR or other versioning information should 
be presented in the URI, but I'm not sure.

2. I think that because namespaces are common for all 
other standarts one should think about the flexible, 
reasonable and expandable hierarchy of namespaces.

2. I don't think  just simple prefix matching would work on 
long run. For example, I can imagine a situation when 
some new vendor comes with something 'inherited from'

http://www.w3.org/Markup/HTML/

But it would cause 

http://the.vendor.id/Markup/HTML/extension


> 2) "http://www.w3.org/HTML/1999/namespace" - by Tim Bray
> 3) "http://www.w3.org/HTML/2000/Namespace" - by Don Park (I like zeros :)

Don't think the information should be duplicated.

The URI will already appear in the 'namespace' instruction, 
so there is no need in word 'namespace'. 

I don't think information about the dates should be in 
the URI.

Vendor
    Area
        Subarea

may be enough for most cases. Unfortunately
there is no way to do some complex things with 
trivial inheritance, but I don't think it would be a 
problem. My idea is that namespaces URIs should 
not be as chaotic as they are now. 

It is public API !  Who was blaming MS ? ;-)

Again - maybe I'm missing something. 

Conclusion.

I don't think  URIs should be just some abstract and 
unpredictable strings because URIs are part of 
XML public API. Namespaces affect every part 
of XML.  'Saving' one day not designing this 
part of public API seems strange. If that 
day has been spend already - is there any way 
to check  what  was the descision ?

Rgds.Paul.

 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 paul@p...   www.renderx.com   www.pault.com
 XMLTube * Perl/JavaConnector * PerlApplicationServer
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



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/ and on CD-ROM/ISBN 981-02-3594-1
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.