Bug#341447: marked as done (Non-continuous nodes are sorted separately)

Debian Bug Tracking System owner at bugs.debian.org
Wed Dec 14 17:03:30 UTC 2005


Your message dated Wed, 14 Dec 2005 18:49:29 +0200
with message-id <20051214164929.GA285431 at sirppi.helsinki.fi>
and subject line Bug#341447: Non-continuous nodes are sorted separately
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 16:39:17 +0000
>From Peter_Neal at McAfee.com Wed Nov 30 08:39:17 2005
Return-path: <Peter_Neal at McAfee.com>
Received: from sncsmrelay2.nai.com ([67.97.80.206])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EhUzF-0005fF-9Z
	for submit at bugs.debian.org; Wed, 30 Nov 2005 08:39:17 -0800
Received: from sncexwsout1.na.nai.com (sncexwsout1.na.nai.com [161.69.206.120])
	by sncsmrelay2.nai.com (Switch-3.1.3/Switch-3.1.0) with SMTP id jAUJLtl8006355
	for <submit at bugs.debian.org>; Wed, 30 Nov 2005 11:21:55 -0800
Received: from (161.69.5.246) by sncexwsout1.na.nai.com via smtp
	 id 1192_5e846a02_61c3_11da_9e14_0002b3e6f1b3;
	Wed, 30 Nov 2005 09:04:28 -0800 (PST)
Received: from AYLEXBR1.corp.nai.org ([161.69.135.207]) by sncexbr1.corp.nai.org with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 30 Nov 2005 08:37:37 -0800
Received: from devexmb1.corp.nai.org ([161.69.135.219]) by AYLEXBR1.corp.nai.org with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 30 Nov 2005 16:37:18 +0000
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: 
Date: Wed, 30 Nov 2005 16:37:17 -0000
Message-ID: <2E22904642859A40AF5E1CA1597EBB1F01BE1248 at devexmb1.corp.nai.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Index: AcX1zFPcCO/E1IpmSICEGbHVmRHuqg==
From: <Peter_Neal at McAfee.com>
To: <submit at bugs.debian.org>
X-OriginalArrivalTime: 30 Nov 2005 16:37:18.0559 (UTC) FILETIME=[5440BEF0:01C5F5CC]
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.4 required=4.0 tests=BAYES_30,HAS_PACKAGE,
	NOSUBJECT,NO_REAL_NAME autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: libxml-filter-sort-perl=20
Version: 0.91-1

Non-continuous nodes are sorted separately

<xml>
	<tag name=3D'E'>
	<tag name=3D'D'>
	<tag name=3D'C'>
	<breakit/>
	<tag name=3D'B'>
	<tag name=3D'A'>
</xml>

Save the above then run 'xmlsort -r tag -k @name $filename'.
The output is:

<xml>
	<tag name=3D'C'>
	<tag name=3D'D'>
	<tag name=3D'E'>
	<breakit/>
	<tag name=3D'A'>
	<tag name=3D'B'>
</xml>

I think it should be=20

<xml>
	<tag name=3D'A'>
	<tag name=3D'B'>
	<tag name=3D'C'>
	<tag name=3D'D'>
	<tag name=3D'E'>
	<breakit/>
</xml>

Though <breakit/> could be anywhere - the important thing is there is
one group sorted, not two.

---------------------------------------
Received: (at 341447-done) by bugs.debian.org; 14 Dec 2005 16:49:32 +0000
>From ntyni at cc.helsinki.fi Wed Dec 14 08:49:32 2005
Return-path: <ntyni at cc.helsinki.fi>
Received: from sirppi.helsinki.fi ([128.214.205.27])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EmZop-000486-T0; Wed, 14 Dec 2005 08:49:32 -0800
Received: from sirppi.helsinki.fi (localhost [127.0.0.1])
	by sirppi.helsinki.fi (8.13.2/8.13.2) with ESMTP id jBEGnTt1311103;
	Wed, 14 Dec 2005 18:49:29 +0200 (EET)
Received: (from ntyni at localhost)
	by sirppi.helsinki.fi (8.13.2/8.13.2/Submit) id jBEGnTte421276;
	Wed, 14 Dec 2005 18:49:29 +0200 (EET)
Date: Wed, 14 Dec 2005 18:49:29 +0200
From: Niko Tyni <ntyni at iki.fi>
To: 341447-done at bugs.debian.org
Subject: Re: Bug#341447: Non-continuous nodes are sorted separately
Message-ID: <20051214164929.GA285431 at sirppi.helsinki.fi>
References: <2E22904642859A40AF5E1CA1597EBB1F01BE1248 at devexmb1.corp.nai.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2E22904642859A40AF5E1CA1597EBB1F01BE1248 at devexmb1.corp.nai.org>
User-Agent: Mutt/1.4.2i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

retitle 341447 Non-continuous nodes are sorted separately
thanks

On Wed, Nov 30, 2005 at 04:37:17PM -0000, Peter_Neal at McAfee.com wrote:
> Package: libxml-filter-sort-perl 
> Version: 0.91-1
> 
> Non-continuous nodes are sorted separately

Hi,

this is documented behaviour. From the XML::Filter::Sort manual page:

Only lists of contiguous record elements will be sorted.  A list of
records which has a 'foreign body' (a non-record element,
non-whitespace text, a comment or a processing instruction) between two
elements will be treated as two separate lists and each will be sorted
in isolation of the other.


I'm closing the bug for now. If you think that the behaviour should be
changed, please comment. I will then reopen the bug and forward the
request to the upstream author.

Thanks,
-- 
Niko Tyni	ntyni at iki.fi



More information about the pkg-perl-maintainers mailing list