In brief, nationalism is a theory of political legitimacy, which requires the ethnic boundaries should not be cut across political ones, and, in particular, that ethnic boundaries within a given state a contingency already formally excluded by the principle in its general formulation should not separate the power holders from the rest.
Ernest Gellner, John Breuilly (2008). “Nations and Nationalism”, p.1, Cornell University Press