Consider the following link with a type that contains parameters:
<link rel="schema"
type="application/xml; xmlns="http://www.blah.com/schemas/_r85HYDq0Ed-
ok5qVHCwRrQ""
href="/path/to/blah.xsd"/>
AtomLinkCollection.FindService("schema", "application/xml") will return null.
I fixed it locally by using StartsWith() instead of equality:
if ((service == null || (linkRel != null && linkRel == service)) &&
(type == null || (linkType != null && linkType.StartsWith(type))))
Original issue reported on code.google.com by ydewit@gmail.com on 26 Apr 2010 at 1:43
Original issue reported on code.google.com by
ydewit@gmail.com
on 26 Apr 2010 at 1:43