We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b1142ed3 authored by Evan Prodromou's avatar Evan Prodromou

Revert "XRDS namespace fix"

This reverts commit 6d1d59a3.

It seems to interfere with the Yadis discovery.
parent 6d1d59a3
......@@ -38,7 +38,7 @@ class PublicxrdsAction extends Action {
common_start_xml();
common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
'version' => '2.0'));
......
......@@ -45,7 +45,7 @@ class XrdsAction extends Action {
common_start_xml();
common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
'xml:id' => 'oauth',
'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
'version' => '2.0'));
......@@ -77,7 +77,7 @@ class XrdsAction extends Action {
# XXX: decide whether to include user's ID/nickname in postNotice URL
common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
'xml:id' => 'omb',
'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
'version' => '2.0'));
......@@ -92,7 +92,7 @@ class XrdsAction extends Action {
common_element_end('XRD');
common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
'version' => '2.0'));
common_element('Type', NULL, 'xri://$xrds*simple');
......
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