From: Xuan B. <med...@us...> - 2008-06-11 05:17:03
|
Update of /cvsroot/tm4j/tm4j/resource/tests In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27123/resource/tests Added Files: mergeOccurences1.xtm2 Log Message: Add a testcase file. --- NEW FILE: mergeOccurences1.xtm2 --- <?xml version="1.0" encoding="UTF-8"?> <topicMap version="2.0" xmlns="http://www.topicmaps.org/xtm/"> <topic id="B"> <occurrence><type><topicRef href="#A0"/></type><resourceData>test</resourceData></occurrence> </topic> <topic id="A0"> <subjectIdentifier href="http://test-cases.psi.tm4j.org/genericDummyTopics/A"/> </topic> </topicMap> <!-- Author: Xuân Baldauf The number of subject identifiers of the topic with subject identifier "http://test-cases.psi.tm4j.org/genericDummyTopics/A" should equal exactly one. In a historic implementation, an item identifier was leaked as subject identifier. The reason for the leak was that the initial <topicRef href="#A0"/> creates an internal topic, where the subject identifier is "#A0", and not the item identifier. --> |