Re: [xml] c14n: "xmlns:xml" is removed



On Mon, Oct 31, 2005 at 02:59:25PM +0100, Joachim Bauch wrote:
Hi,

the c14n-code of libxml2 2.6.22 (and maybe older versions too) seems to omit the
declaration of the default "xml" namespace.
 I think it's normal. The declaration is in effect by default adding it
is purely superfluous.

Is there any way to make libxml2 2.6.22 write the "xmlns:xml" attribute?

  Why ? This is actually bad practice...
Plus c14n rules are pretty strict and I guess they on-pupose ask to not
emit it (I guess I didn't double checked).

Daniel


-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]