Made EncodedResource based variant public; consistently detect XML properties across all variants

Issue: SPR-9078