Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] a possible bug in Canonicalizer

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: Noam Tamim <noamtm AT gmail.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] a possible bug in Canonicalizer
  • Date: Sun, 15 May 2005 15:44:02 -0400

Noam Tamim wrote:

With this input, which AFAIK is already exclusively canonicalized:

<ns1:root xmlns:ns1="some:urn">
<elt1></elt1>
</ns1:root>

I get this output:

<ns1:root xmlns:ns1="some:urn">
<elt1 xmlns=""></elt1>
</ns1:root>

Again - as I understand the specification, there's no need to declare the default namespace. But maybe I got this wrong, I'm new to Canonicalization.

I'll look into it. It could well be a bug in XOM.

OK. I think I've fixed it. Try the code in CVS and see if that solves your problem.

--
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