They should be extended through the roof.
They will need to be flashed at the roof.
I am completing the 3rd level of my home and need to know if the roughed in vent stacks extending approx. 18" through floor need to be connected and extended through the roof. There are 2 stacks, one on the wall with the toilet and sink and the other on the shower wall. They are both capped off. How do I proceed.