@Test
public void shouldParseNCName() {

    assertThat(parser.parseNCName(tokenize("ABCDEFGHIJKLMNOPQRSTUVWXYZ")), is("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
    assertThat(parser.parseNCName(tokenize("abcdefghijklmnopqrstuvwxyz")), is("abcdefghijklmnopqrstuvwxyz"));
    assertThat(parser.parseNCName(tokenize("a0123456789")), is("a0123456789"));
    assertThat(parser.parseNCName(tokenize("a_-3b")), is("a_-3b"));
    assertThat(parser.parseNCName(tokenize("abc:def")), is("abc"));
}