Change
<ref name=="foo">
to
<ref name="foo">
Dbscan yield many results.
Change
<ref name=="foo">
to
<ref name="foo">
Dbscan yield many results.
This should also catch cases after "group" and any other parameters <ref> accepts, as well as parameters in <references> (and probably other XML-style tags, so perhaps a general rule should be written).