Is a resident of a Schengen country (but non-EU citizen) required to have a passport that is valid for 3 extra months when entering Spain?
I only managed to find the website of the Spanish foreign ministry, which states:
Foreigners holding a valid residence permit or a long-term visa issued by another Schengen State may travel through the territory of the other Schengen States for a maximum of 90 days within any 180-day period, provided that they are in possession of a valid passport or travel document, [...]
However, what confuses me is that the same website also states:
The document must be valid for al least three months following the projected exit from the territory of the Members States, and must have been issued within the last ten years. Citizens from any State of the European Union, Switzerland, Norway, Iceland and Liechtenstein only need a valid national identity document or passport.
The second passage seems to mean that only EU citizens are exempt from the passport validity requirement, whereas citizens of non-EU countries need to have a passport that is valid at least 3 months after the projected exit.
What is the actual requirement in terms of passport validity for a Schengen resident to enter Spain?