Bug#341447:

Peter_Neal at McAfee.com Peter_Neal at McAfee.com
Wed Nov 30 16:37:17 UTC 2005


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

Non-continuous nodes are sorted separately

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

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

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

I think it should be 

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

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




More information about the pkg-perl-maintainers mailing list