China has a one China principle that is very different from Canada's one China policy. Their one China principle makes it clear that Taiwan is and should be reunited with mainland China. Therefore, China doesn't condone either parliamentary visits to Taiwan or even my visit last week to Taiwan, because China believes that federal or ministerial visits are inconsistent in bestowing an act of sovereignty to the state that China believes should be a province.
On November 29th, 2022. See this statement in context.