When reading an XTM file using
SerializedTopicMapSource, it appears that the value of
an xml:base attribute on the document root element is
not being assigned to the topic map.
Up to now TM4J has used the xml:base attribute only for
resolving references to other documents. Same-document
reference (#foo) and element IDs are resolved against the
source locator of the topic map file being read. This is (I
believe) in line with the original position of the ISO
committee. However, RDF does it a different way and resolves
RDF:ID attributes and same-document references against the
xml:base value - and in a lot of ways that makes more sense.
I've put a query about this in to the ISO working group.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=176992
Update:
Up to now TM4J has used the xml:base attribute only for
resolving references to other documents. Same-document
reference (#foo) and element IDs are resolved against the
source locator of the topic map file being read. This is (I
believe) in line with the original position of the ISO
committee. However, RDF does it a different way and resolves
RDF:ID attributes and same-document references against the
xml:base value - and in a lot of ways that makes more sense.
I've put a query about this in to the ISO working group.
Logged In: YES
user_id=176992
No response from the ISO WG, so I am going to postpone work
on this bug until after the 0.9.7 release.