LPS-32140 Undo change to XSLTemplateResource.equals(), use direct equals for better performance