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

RE: namespace reprise

  • To: "Emmanuil Batsis (Manos)" <mbatsis@h...>,<xml-dev@l...>
  • Subject: RE: namespace reprise
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 20 Aug 2002 19:44:48 -0700
  • Thread-index: AcJIsYxK7rcyCyE9Q+udh8JTWMOyEQACm5EQ
  • Thread-topic: namespace reprise

RE:  namespace reprise

> -----Original Message-----
> From: Emmanuil Batsis (Manos) [mailto:mbatsis@h...] 
> Sent: Tuesday, August 20, 2002 6:19 PM
> To: Dare Obasanjo; xml-dev@l...
> Subject: Re:  namespace reprise
> 
> 
> Namespaces should point to schemas, being the actual vocabulary 
> definition pointer. Even better, it should point to an an RDF 
> document 
> (after all, RDF is about metadata) or perhaps something like an RDDL 
> doc, or whatever.

What does a namespace name point to became a philosophical question once
the Namespaces in XML editors decided to use URIs and not URLs. At least
if they chose URLs (or even better HTTP URLs) then one could claim that
they should always point to metadata about a namespace preferrably
multiple kinds of information such as is provided by RDDL and not just
one specific type of schema. 

However since they are URIs they are simply identifiers and not
locations so the argument doesn't hold as much water.  
 
> Another thing that bothers me is the rough edges concerning 
> APIs. Most 
> APIs handle namespaces in a really stupid way. Even XPath in XSLT 
> (which, IMHO is by far the best in it's anticipation of namespaces 
> thanks to the according axis) is incapable of dynamically producing 
> namespaces and one must know the default namespace to match 
> the desired 
> nodes.. 

What do you mean by dynamically producing namespaces? 

Also, if I'm not wrong, if there are no namespace 
> declarations 
> then XSLT anticipates the empty string as the default 
> namespace (but one 
> may correct me in this one). Surelly this is another rec but if 
> namespaces are not implemented consistently and effisiently in other 
> applications then there must be something wrong with them ;-)

XPath doesn't understand default namespaces and thus I don't think XSLT
does either. 

-- 
PITHY WORDS OF WISDOM 
Putting in a request to go home early is the best way to jinx yourself
and end up working overtime.     

This posting is provided "AS IS" with no warranties, and confers no
rights. 



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.