Commit 758a67c4 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: More aggressively use workaround for xmlns as property

parent b9652444
......@@ -513,15 +513,16 @@ static void render_node(json_renderer_t *renderer, xmlDocPtr doc, xmlNodePtr nod
if (node->ns && node->ns->href)
href = (const char *)node->ns->href;
if (!href) {
if (workaroundProp)
href = (const char *)workaroundProp;
}
if (href) {
if (strcmp(href, "http://icecast.org/specs/legacyresponse-0.0.1") == 0) {
render = render_node_legacyresponse;
} else if (strcmp(href, "http://icecast.org/specs/legacystats-0.0.1") == 0) {
render = render_node_legacystats;
} else if (strcmp(href, "http://xspf.org/ns/0/") == 0) {
render = render_node_xspf;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment