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

Re: Tool X (was Re: simple question on namespaces.)

  • From: Paul Tchistopolskii <paul@q...>
  • To: xml-dev@l...
  • Date: Fri, 29 Dec 2000 14:46:24 -0800

Re: Tool X (was Re: simple question on namespaces.)

----- Original Message ----- 
From: Jonathan Borden <jborden@m...>

>     The point has been raised that a namespace URI identifies a single
> schema (forget content negotiation for the moment). My point is that
> doctypedecls also identify a single schema, hence this problem is not new.

Not really. There are some differences.

1. doctypedecls are pointing to DTDs. They're pointing 
to some standard thing ( DTD is standard. Useless, but standard). 
Namespaces are poiting to nowhere.

> If this argument is used to claim 'namespaces are broken' as I've heard,
> then it equally claims 'XML 1.0 is broken'. Of course nothing is perfect, so
> everything is broken.

DTD layer in XML is of course broken ( because it does not survive in the 
real life for another W3C standards, like XSL FO, for example ), but let us 
forget about it.  

My point is that namespaces ( pointing to nowhere ) are broken in 
different way. 

2. Also, DTD layer could be ignored. I mean you can just not use DTD layer - 
and that's it. 

*Namespaces* are much harder to ignore. I still think the purpose 
of namespaces was/is  to assign a unique context, not to fetch the URLs.

Not that I enjoy bashing namespaces ( even I still think that SGML people 
were right and resolving form context is better than resolving from hidden 
'second-name' ), but I think that situation with namespaces is different
than situation with DTDs.

3. Let's think a bit about  the DTD layer. We have DTD. We have a 
doctypedecl. doctypedecl is like a PI. It says : "validate with this DTD".

Current semantics of namespace 'PI' is different. I'd say that the semantics 
of namespace PI is "handle prefixes/hidden lastnames".  Adding *more* semantics
to 'namespace PI' is just wrong, I think. It'll produce a monster 'PI' with 
2 orthogonal semantics attached. To me it smells like a suspicious step.

Again - I'm not sure I can say is it good or not ( in my universe there is 
no namespaces, because I think that resolution from the context is 
the way to go ) - but the point of this letter is explain what  
is different between namespaces and doctypedecls from my point of view.



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.
First Name
Last Name
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.