xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Bug in Builder.canonicalizeURL
- Date: Fri, 18 Jun 2010 19:42:40 -0400
On Fri, Jun 18, 2010 at 2:36 PM, Adam Constabaris
<adam.constabaris AT gmail.com> wrote:
> Hello,
>
> It would appear there is a rather nasty bug in XOM 1.2.5's Builder
> class, in that it will duplicate the query string on URIs that contain
> 'em when canonicalizeURL is called, viz. the result of passing
>
> http://www.example.com/?id=1
>
> to canonicalizeURL (which is called by Builder.build(String)) yields
> up the "canonical"
>
> http://www.example.com/?id=1?id=1
>
Sounds like a bug. I'll try and look at this on Sunday. What would be
most helpful would be a unit test demonstrating the problem. And yes,
the list strips attachments. :-)
--
Elliotte Rusty Harold
elharo AT ibiblio.org
-
[XOM-interest] Bug in Builder.canonicalizeURL,
Adam Constabaris, 06/18/2010
-
Re: [XOM-interest] Bug in Builder.canonicalizeURL,
Elliotte Rusty Harold, 06/18/2010
- Re: [XOM-interest] Bug in Builder.canonicalizeURL, Elliotte Rusty Harold, 06/18/2010
-
Re: [XOM-interest] Bug in Builder.canonicalizeURL,
Elliotte Rusty Harold, 06/18/2010
Archive powered by MHonArc 2.6.24.