Re: [xml] c14n: "xmlns:xml" is removed
- From: Daniel Veillard <veillard redhat com>
- To: Joachim Bauch <jojo struktur de>
- Cc: xml gnome org
- Subject: Re: [xml] c14n: "xmlns:xml" is removed
- Date: Mon, 31 Oct 2005 11:22:46 -0500
On Mon, Oct 31, 2005 at 05:03:56PM +0100, Joachim Bauch wrote:
Daniel Veillard wrote:
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).
The problem is, I have code that generated checksums of XML documents by
hashing the c14n result. Now this c14n result of my documents changed and
so the checksums differ... Therefore it would be nice if I could add the
"xmlns:xml" manually before calculating my checksums.
Is there a way to do this?
Not easilly. libxml2 API refuses to add a new xmlns:xml namespace
so you would have to add a new namespace and modify it then save...
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]