From: Xuan B. <med...@us...> - 2008-06-12 06:44:28
|
Update of /cvsroot/tm4j/tm4j/resource/tests In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16230/resource/tests Added Files: mergeSeparateFiles0.file0.xtm2 mergeSeparateFiles0.file1.xtm2 Log Message: Add a testcase files. --- NEW FILE: mergeSeparateFiles0.file0.xtm2 --- <?xml version="1.0" encoding="UTF-8"?> <topicMap version="2.0" xmlns="http://www.topicmaps.org/xtm/"> <topic id="A0"> <subjectIdentifier href="http://test-cases.psi.tm4j.org/genericDummyTopics/0"/> </topic> </topicMap> <!-- Author: Xuân Baldauf When merging "mergeSeparateFiles0.file0.xtm2" and "mergeSeparateFiles0.file1.xtm2" together, the number of topics in the resulting topic map should be 2, not 1. Both files define exactly one topic with the same local id, but with different subject identifiers. The local IDs have to be resolved against different base-URLs, such that the resulting item identifiers are different. --> --- NEW FILE: mergeSeparateFiles0.file1.xtm2 --- <?xml version="1.0" encoding="UTF-8"?> <topicMap version="2.0" xmlns="http://www.topicmaps.org/xtm/"> <topic id="A0"> <subjectIdentifier href="http://test-cases.psi.tm4j.org/genericDummyTopics/1"/> </topic> </topicMap> <!-- Author: Xuân Baldauf When merging "mergeSeparateFiles0.file0.xtm2" and "mergeSeparateFiles0.file1.xtm2" together, the number of topics in the resulting topic map should be 2, not 1. Both files define exactly one topic with the same local id, but with different subject identifiers. The local IDs have to be resolved against different base-URLs, such that the resulting item identifiers are different. --> |