XRI's in xml namespaces

Grant Monroe grant at janrain.com
Mon Jun 12 20:46:11 UTC 2006

Is it technically valid to use an XRI in an XML namespace attribute?
I was looking at the W3C recommendation on XML namespaces,
http://www.w3.org/TR/xml-names11/, and it looks like the value of an
XML namespace attribute must be an IRI. While there may be rules to
convert XRIs to IRIs, current parsers might barf.
I bring this up because .Net xml parsing converts xml namespaces to
Uri objects. The mono Uri implementation tries to parse the authority
segment using the rules in rfc3986 and pukes on XRIs.

Grant Monroe
Janrain, Inc.

More information about the yadis mailing list