@@ -0,0 +1,1097 @@
+package com.fasterxml.jackson.dataformat.xml.failing;%0A%0Aimport com.fasterxml.jackson.core.JsonProcessingException;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport com.fasterxml.jackson.dataformat.xml.XmlTestBase;%0A%0Apublic class VerifyRootLocalName247Test extends XmlTestBase%0A%7B%0A    static class Root %7B%0A        public int value;%0A    %7D%0A%0A    /*%0A    /**********************************************************************%0A    /* Test methods%0A    /**********************************************************************%0A     */%0A%0A    private final ObjectMapper MAPPER = newMapper();%0A%0A    public void testRootNameValidation247() throws Exception%0A    %7B%0A        Root root = MAPPER.readValue(%22%3CRoot%3E%3Cvalue%3E42%3C/value%3E%3C/Root%3E%22, Root.class);%0A        assertEquals(42, root.value);%0A%0A        // so far so good. But why no validation for root local name?%0A        try %7B%0A            MAPPER.readValue(%22%3CBoot%3E%3Cvalue%3E42%3C/value%3E%3C/Boot%3E%22, Root.class);%0A            fail(%22Should not allow wrong local name!%22);%0A        %7D catch (JsonProcessingException e) %7B%0A            verifyException(e, %22Foobar%22);%0A        %7D%0A    %7D%0A%7D%0A

Add (failing) test case for #247