Ah, I see. There is a bug in my library :P Thanks for clearing my confusion!<br><br>Wentao<br><div class="gmail_quote">On Fri, Mar 20, 2015 at 12:31 AM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Wentao<div><br></div><div>This behavior is by design.</div><div><br></div><div>The Interest has this Exclude Selector:</div><div><font face="monospace, monospace"><Exclude><br></font></div><div><font face="monospace, monospace">  <NameComponent></NameComponent></font></div><div><font face="monospace, monospace">  <NameComponent>%FD%00%00%01L5%F1K%21</NameComponent></font></div><div><font face="monospace, monospace"></Exclude></font></div><div>Note that there isn't a <Any/> element between two NameComponents.</div><div><br></div><div>The returned Data does not violate this Exclude Selector, because <font face="monospace, monospace">%FD%00%00%01L5%F1%3D%BF</font> doesn't appear in this Exclude Selector.</div><div><br></div><div>Yours, Junxiao<br></div></div><div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 12:02 AM, Wentao Shang <span dir="ltr"><<a href="mailto:wentaoshang@gmail.com" target="_blank">wentaoshang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Junxiao,<div><br></div><div>I found this problem on iOS using an "incorrect" implementation of the FaceStatus Dataset consumer. I'm not sure how to reproduce this error on normal computers yet. But here is a dump of log messages from NFD (this is the best I can get to describe the problem...):</div><div><br></div><div><br>2015-03-19 23:49:20.532 NFD[5139:69230] TRACE: [TcpLocalFace] [id=257,local=tcp4://<a href="http://127.0.0.1:6363" target="_blank">127.0.0.1:6363</a>,remote=tcp4://<a href="http://127.0.0.1:51868" target="_blank">127.0.0.1:51868</a>] Received: 63 bytes <br><br>2015-03-19 23:49:20.532 NFD[5139:69230] DEBUG: [Forwarder] onIncomingInterest face=257 interest=/localhost/nfd/faces/list?ndn.ChildSelector=1&ndn.InterestLifetime=1000&ndn.Nonce=1313767654&ndn.Exclude=...,%FD%00%00%01L5%F1K%21 <br><br>2015-03-19 23:49:20.533 NFD[5139:69230] DEBUG: [ContentStore] find /localhost/nfd/faces/list R <br><br>2015-03-19 23:49:20.533 NFD[5139:69230] TRACE: [ContentStore] find-under-prefix /localhost/nfd/faces/list/%FD%00%00%01L5%F1K%21 <br><br>2015-03-19 23:49:20.533 NFD[5139:69230] TRACE: [ContentStore] find-under-prefix /localhost/nfd/faces/list/%FD%00%00%01L5%F1%3D%BF <br><br>2015-03-19 23:49:20.533 NFD[5139:69230] DEBUG: [ContentStore] matching /localhost/nfd/faces/list/%FD%00%00%01L5%F1%3D%BF/%00%00 <br><br>2015-03-19 23:49:20.533 NFD[5139:69230] DEBUG: [Forwarder] onOutgoingData face=257 data=/localhost/nfd/faces/list/%FD%00%00%01L5%F1%3D%BF/%00%00 <br><br>2015-03-19 23:49:20.534 NFD[5139:69230] TRACE: [TcpLocalFace] [id=257,local=tcp4://<a href="http://127.0.0.1:6363" target="_blank">127.0.0.1:6363</a>,remote=tcp4://<a href="http://127.0.0.1:51868" target="_blank">127.0.0.1:51868</a>] sendData <br><br>2015-03-19 23:49:20.534 NFD[5139:69230] TRACE: [TcpLocalFace] [id=257,local=tcp4://<a href="http://127.0.0.1:6363" target="_blank">127.0.0.1:6363</a>,remote=tcp4://<a href="http://127.0.0.1:51868" target="_blank">127.0.0.1:51868</a>] Successfully sent: 724 bytes <br><br>2015-03-19 23:49:20.637 NFD[5139:69230] DEBUG: [Forwarder] onInterestFinalize interest=/localhost/nfd/faces/list satisfied<br><div class="gmail_quote"><br></div><div class="gmail_quote">You can see that I sent an Interest with exclude filter of [ANY, %FD%00%00%01L5%F1K%21]. But somehow NFD decided to match this interest to the data with suffix "%FD%00%00%01L5%F1%3D%BF/%00%00". Note that "%FD%00%00%01L5%F1K%21" is larger than "%FD%00%00%01L5%F1%3D%BF" because 'K' == 0x4B. So this data should have been filtered out...</div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">Wentao</div><div><div><div class="gmail_quote"><br></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div>