Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Need to preserver duplicate namespace declarations

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: "Aust, Stefan" <stefan.aust AT coremedia.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Need to preserver duplicate namespace declarations
  • Date: Tue, 09 Aug 2005 10:58:08 -0400

Aust, Stefan wrote:

I need to compute a hash (and signature) over parts of the XML. It's not
XML DSIG compatible so there's no canonicalization transformation here.

Then you've got bigger problems than just namespace declarations. There's a lot more in the original XML that is also not guaranteed to be preserved on roundtrip than simply the location of redundant namespace declarations. You really need to use XML DSIG, and you'd probably have more luck convincing me to add that to XOM than to maintain the exact location of additional namespace declarations in this unusual case.


--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page