In Norway only a few years worth of data is available on line (2007-2010 IIRC) -- after a bit of future shock an amendment was passed to prevent newspapers etc to archive the data and make it available in perpetuity on line. The original intent of the law (when the lists were published in local newspapers) wasn't for the data to be used for other purposes than to check what your peers, your boss, or the prime minister (and other politicians, effectively employed by you) were making.
This whole thing about not discussing compensation seems silly to me -- the only thing I can see come from it is a sort of prisoners dilemma wrt compensation. Your employer knows what everyone's making, but you only know your own salary. End result: Your employer has a stronger bargaining position than you. The whole thing falls apart in the face of unions, of course -- as the union will know what everyone is making anyway.
Either way I think the compensation given to leaders in a company should be know at least internally. Unless they get an unfair share, in which case something should be done either way.
But we are rather strange here in Norway; on a related note, a left-wing newspaper recently made a small splash with its flat salary structure -- everyone earns the same salary, only modified seniority: