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.