#116 query with occurrence type

TM4J 0.9.7
open
5
2005-01-28
2005-01-28
No

Hello,
I have the following xtm:

<?xml version="1.0" encoding="iso-8859-7"?>
<topicMap id="occurTM" xml:base="occur.xtm"
xmlns="http://www.topicmaps.org/xtm/1.0/"
xmlns:xlink="http://www.w3.org/1999/xlink">

<topic id="occurType"/>
<topic id="myTopic">
<occurrence id="x1kic9slkf-b2">
<instanceOf>
<topicRef xlink:href="#occurType"/>
</instanceOf>
<resourceData>123</resourceData>
</occurrence>
</topic>
</topicMap>

eventhough the call :
occurrence(myTopic,$o), type($o,occurType), value($o,
$value)?
returns "123" in $value

when I call:
occurType (myTopic, $value)?
I get no error, but the TologResultsSet returned
contains 0 rows

I was expecting to have the same results for the two
calls.

Thank you again
George Tryfon
(TA-KT research group)

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks