8269938: Enhance XML processing passes redux

Reviewed-by: mbaesken
Backport-of: ff4e11b1a83d6910e39f1d46bea154f0876f39da
7 files changed