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

Re: namespace values

Subject: Re: namespace values
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 12 Mar 2001 14:00:31 -0700 (MST)
Re:  namespace values
Kevin_Gutch@xxxxxxxxxxx wrote:
> 
> Can namespaces contain  values? Is it possible to store these values in a
> URI?

As long as you adhere to the syntax for a URI reference as defined by RFC
2396, you can embed whatever you want in a namespace URI. But namespace
declarations are just strings, so if you were thinking of using variable
references in namespace declarations in a stylesheet, then no, you can't
do that.

At the risk of sounding like I am trolling, I will mention that very
recently on the xml-dev list there was quite a bit of discussion about
what "should" be returned if a namespace URI happens to be resolved as a
real URL, even though there is no requirement that it actually be anything
resolvable. For some reason, this time around, even though the issue has
been raised many times before without incident, a mass spec writing circle
jerk ensued (IMNSHO) and an overengineered solution to this, ahem, problem
was born and named RDDL. If you read the spec at rddl.org, you'll notice
that there really are no statements in it that justify its existence.

Anyway, the fact that they have come up with this spec and seem eager to
implement it means that you probably shouldn't lock yourself into using
namespace URIs that are going to be difficult to resolve someday.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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