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

Re: Re: removing a specific namespace declaration

Subject: Re: Re: removing a specific namespace declaration
From: ekimber <ekimber@xxxxxxxxxxxx>
Date: Sun, 08 Nov 2009 15:02:35 -0600
Re:  Re: removing a specific namespace declaration
On 11/8/09 2:15 PM, "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:


> Fine ... but just remember an unused namespace is supposed to be
> benign to XML-based applications.
> 
>> It's still a little unclear to me why this approach requires a
>> namespace declaration in the element
>> (namespace="{namespace-uri(.)}"), as I would have thought the
>> explicit copying of namespace nodes would have taken care of it,

Unexpected (and unneeded) namespace declarations can be a problem for
DTD-validated documents where not all elements provide the namespace
declaration attributes. Thus a namespace declaration emitted on an element
the DTD didn't provide for will result in an invalid document.

Cheers,

Eliot

----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email:  ekimber@xxxxxxxxxxxx <mailto:ekimber@xxxxxxxxxxxx>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com>  | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com> 

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-2011 All Rights Reserved.