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

Re: My report on experiments with unused namespaces

  • From: David <dlee@calldei.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 15 Sep 2010 16:16:52 -0400

Re:  My report on experiments with unused namespaces
  I belive xproc would be one example where in-scope namespaces can be 
used inside attribute values (such as select="foo:bar") but are 
otherwise unused in the 'xml proper'.


David A. Lee
dlee@calldei.com
http://www.xmlsh.org


On 9/15/2010 4:12 PM, Simon St.Laurent wrote:
> On 9/15/10 2:03 PM, Amelia A Lewis wrote:
>> In short: I don't see the point.  A namespace declaration is merely a
>> particular form of attribute use which defines a certain sort of
>> information.  In the best of all possible worlds, a namespace would
>> only be defined when it was needed to scope an element or attribute use
>> ('scuse, I need to go cultivate my garden ...), but since multiple
>> prominent uses of namespaces use the scoping mechanism for the
>> *content* of attributes and elements, there is no way for a processor
>> to know whether a namespace declaration is significant or not.
>
> It's been a while, but I have heard of hacks which used namespace 
> declarations as kind of a backchannel for propagating information 
> through its scope.  The application had to know what it was looking 
> for, and the 'extra' namespaces had a habit of getting pruned by other 
> tools, but in a constrained context, it was fun.
>
> Not the best of all possible worlds...
>


[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.