yesthe transfer without visa can only make you to transfer within the same airport, usually the same airline. and you need to get your boarding pass ready before your first leg of journeyfor example, you must get your boarding passes for: Shanghai-Paris, and Paris-Edinbourgh, before your flight from Shanghai. Otherwise, if you do not have a visa to enter France, you will not be able to get on your flight from Shanghai--the airline will reject you.and you must stay in the same airport in Paris.
如果是同一个机场的非联程,你要确定机场航站楼内有没有中转柜台,即,不出关办理下程登机牌;如果没有中转柜台得出关办理登机牌,还是得办证。http://www.aeroportsdeparis.fr/ADP/en-GB/Passagers/Access-maps-car-parks/guide-connecting-flight/