...
The Sigma 18-50 EX DC is a very solid lens for the money and the fact it stands up against the larger, heavier image stabilised Canon costing much more is a huge testament. The new macro edition of the Sigma is a further improvement and refinement.
...
In absolute lens range terms Canon probably have the advantage but there is the issue about compatibility. You buy a Nikon lens from 1980 and the chances are it will work (manual focus but with metering) on a modern Nikon DSLR. Buy a Canon lens from a few years back and it might need rechipping something I don't really understand; there is no need for these incompatibilities. When it comes to bodies and features per price point I would give Nikon the advantage.
My point is no one camera really fitted my requirements 100%, it is all about compromise even when a large budget is available. Spending lots of money does not always buy the best tool for that individual

But I shall prepare to be corrected!
I myself often advise a Sigma lens, make no mistake. And I myself sometimes advice a Tamron... and even a Tokina.
So, I do not think we vary much on that. I have a Canon Ef 70-200 f4 L, a Sigma 18-50 f2.8 EX DC, a Tamron SP 90mm f2.8 Di Macro and a Tokina 12-24mm f4. And a Soligor 1.7x TC.
This thread was about what platfrom was better though, in repect to lenses from Canon and Nikon, in the OP's interests. And that is what I originally adviced him/her about.
About Nikon, Canon and lens compatibility, it is actually the other way around.
Canon changed lens mount and mirror box dimentions with the introduction of the EOS range in the mid/late 1980's. They also decided to put the AF motor inside the lens. All EF lenses produced since then will work fine on any EOS camera.
The rechipping you are referring to is something that is a Sigma thing. Sigma reverse engineered the connection and electronics for the Canon AF system, and made Canon EF mount lenses. The electronic signals that Sigma lenses would work with are not exact to the specification though (impedance stuff and such), and with the more "precise" digital EOS SLRs this can give an incompatibility with older Sigma lenses and the setting of the aperture during the taking of a photo, giving an "err. 99" on the camera. These Sigma lenses will need "rechipping", to bring their electronics up to spec.
Nikon has not changed their actual mount when going from manual to AF lenses, in that you are correct. But... Nikon also cripples their affordable cameras (D40/D50/D70/D70s/D80). If you put a lens on one of these bodies that is pre AF, you can not use the camera to meter for you. You have to use M-mode, and meter for yourself. And this is a big drawback.
Nikon's more expenisive cameras (D200/D2x/h) will meter... strange huh?
It becomes even stranger when you know that if you put a Nikon pre AF lens on ANY EOS DSLR from Nikon with a Nikon to Canon EF adapter, the camera WILL meter for you when you set the aperture on the lens and just let the camera think the aperture doesn't change, and adjust its shutter speed accordingly.
So... for manual pre-AF lenses, a Canon EOS+adapter is a better choice than a sub D200 Nikon.
And all EF lenses will of course work... and you can even mount Nikon AF lenses with that Nikon adapter.
So... the situation in AF lenses is the same for Nikon and Canon, all Nikon AF lenses work on Nikon cameras, all Canon EF lenses work on any Canon EOS camera. Except some Sigma lenses (and maybe some other 3rd party lenses?) which return wrong electrical signals.
That is, if you do not count the Nikon D40, which also will refuse to AF with any lens that is more than a few years old (the non AF-S lenses).
On the XTI and D40, the XTi wins easily, no matter how you look at it. 6mp vs 10mp is a huge difference, the XTi is a lot more complete, and the XTi has backward lens compatibility of 20 years, something that can not be said about the D40. And the XTi comes with good RAW conversion software.
On the XTi vs D80 I would myself give neither an advantage, both are comparable in features that matter, and the XTi is a bit cheaper, while the D80 is a bit bigger.
On the 30D vs D80 I would give the 30D the advantage camera wise, but the D80 the price advantage (but realize the D80 does not come with good RAW conversion software, that adds 150$ to its price).
However... when you compare good lenses from Nikon and Canon, the Canon lenses are quite a bit cheaper over the board.
This has no bearing on people who buy a 3rd party lens though, like you and I. But then again, people who get trapped in buying a Nikon D40 do not really have many 3rd party options.