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

Re: Namespace prefix question

  • From: Toby Speight <Toby.Speight@s...>
  • To: "XML developers' list" <xml-dev@x...>
  • Date: 04 Feb 2000 14:06:56 +0000

Re: Namespace prefix question
Tim> Tim Bray <URL:mailto:tbray@t...>

0> In article <3.0.32.20000203134107.014d98d0@p...>, Tim
0> wrote:

Tim> At 02:27 PM 2/3/00 -0500, Hunter, David wrote:

>> <hi:element xmlns:hi="http://www.sernaferna.com">
>>   <hi:element2 xmlns:hi="http://www.blah.com"/>
>> </hi:element>
>>
>> Regardless of the fact that this is probably a bad idea, is it
>> legal?  MSXML doesn't complain, and neither does the XML parser
>> bundled with XT (XP?).

Tim> Yes, bad idea.  Yes, legal. -T.

Bad idea?  This is what enables you to paste

  <hi:element2 xmlns:hi="http://www.blah.com"/>

into your document without having to care about the namespace bindings
of the enclosing elements.  Confusing to humans, perhaps[1], but much,
much easier for the software that reads much more of it than a human
ever will.


[1] heavily-namespaced documents are less readable than plain XML 1.0
    anyway, so I don't put too much weight on this.

-- 


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.