I have a strange problem, maybe someone here may have a helpful suggestion.
I have a list, with a Note-Field, containing a Url:
http://dev-wilma/results.aspx?r=owstaxIdGeschaeftsfallart:|fa543359-b22b-46f0-be44-1dc4b987dfac&#Default=%7B%22k%22%3A%22%22%2C%22r%22%3A%5B%7B%22n%22%3A%22owstaxIdFachthema%22%2C%22t%22%3A%5B%22string(%5C%22%23f192a44f-6423-4bdf-b082-a6aa8b36c0d7%5C%22)%22%5D%2C%22o%22%3A%22and%22%2C%22k%22%3Afalse%2C%22m%22%3Anull%7D%2C%7B%22n%22%3A%22SPContentType%22%2C%22t%22%3A%5B%22%5C%22%C7%82%C7%8250726f746f6b6f6c6c2d4c4154%5C%22%22%5D%2C%22o%22%3A%22and%22%2C%22k%22%3Afalse%2C%22m%22%3Anull%7D%5D%7D
However, If I do a query like this:
<Where>
<Eq>
<FieldRef Name='LinkedTo' />
<Value Type='Note'>
<![CDATA[http://dev-wilma/results.aspx?r=owstaxIdGeschaeftsfallart:|fa543359-b22b-46f0-be44-1dc4b987dfac&#Default=%7B%22k%22%3A%22%22%2C%22r%22%3A%5B%7B%22n%22%3A%22SPContentType%22%2C%22t%22%3A%5B%22%5C%22%C7%82%C7%8250726f746f6b6f6c6c2d4c4154%5C%22%22%5D%2C%22o%22%3A%22and%22%2C%22k%22%3Afalse%2C%22m%22%3Anull%7D%5D%7D]]>
</Value>
</Eq>
</Where>
(sorry for the Long URLs, but that's how they are)
it will still deliver me the entry with the above mentioned URL, although they are NOT equal and (and not even an Extension, because as you can see the shorter one Ends with an an "D" and the longer one has a "B" on that string position.
It doesn't make a difference, if a change the value-type to "Text" or use/don´t use CDATA.
So, do you have any suggestions?
UPDATE: This is used in Serverside OM, using the SPQuery-Object (of course same issue occurs in c# code and powershell)