xml FEATURE support for special xml attr prefix
Which is interpreted as part of the name, not
as a prefix.
Refs cesnet/libnetconf2#318
diff --git a/tests/utests/data/test_parser_xml.c b/tests/utests/data/test_parser_xml.c
index 4183799..8fa4e4d 100644
--- a/tests/utests/data/test_parser_xml.c
+++ b/tests/utests/data/test_parser_xml.c
@@ -292,10 +292,10 @@
assert_int_equal(LY_EVALID, lyd_parse_data_mem(UTEST_LYCTX,
"<a xmlns=\"ns\">\n"
" <b>x</b>\n"
- " <c xml:id=\"D\">1</c>\n"
+ " <c xmld:id=\"D\">1</c>\n"
"</a>\n",
LYD_XML, LYD_PARSE_OPAQ, LYD_VALIDATE_PRESENT, &tree));
- CHECK_LOG_CTX("Unknown XML prefix \"xml\".", "Line number 3.");
+ CHECK_LOG_CTX("Unknown XML prefix \"xmld\".", "Line number 3.");
}
static void