[ALOY-691] don't parse children of tags not for current platform

This is a better fix for ALOY-691 than I submitted yesterday. It also updates a couple of the test cases with new _generated code.