[sc34wg3] CXTM: Problem with locator normalisation
Lars Heuer
heuer at semagia.com
Thu Mar 5 10:54:35 EST 2009
Hi all,
I found a problem with the locator normalisation in CXTM: The locators
are IRI-scheme dependent.
If I read the CTM doc from this source:
<http://cxtm-tests.cvs.sourceforge.net/viewvc/*checkout*/cxtm-tests/cxtm-tests/ctm/in/subject-identifier.ctm>
I do not get the result:
<topicMap>
<topic number="1">
<subjectIdentifiers>
<locator>http://psi.example.org/fake</locator>
</subjectIdentifiers>
</topic>
</topicMap>
but
<topicMap>
<topic number="1">
<subjectIdentifiers>
<locator>psi.example.org/fake</locator>
</subjectIdentifiers>
</topic>
</topicMap>
The "http://" is stripped away from the output. I think this is a
problem since I get different results if I either read the
"subject-identifier.ctm" from my file system (file://) or from another
source (FTP server, webserver etc.).
We recognised this problem with the datatype locators and fixed it
(datatype locators are not normalised anymore) but we completely
forgot that the same problem arises with all IRIs in the topic map
(item identifiers, subject identifiers, subject locators).
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
More information about the sc34wg3
mailing list