Support 'duplicate <property> x', 'Stray end tag x'