|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








