[sc34wg3] XTM 2.0 topicRef - proposal for an erratum

Lars Heuer heuer at semagia.com
Tue Oct 20 13:21:28 EDT 2009

Hi Steve,

> Please explain in what sense (or when) the option to reference a topic by
> subject locator or subject identifier is "missing". I don't see it.



%prefix tech <http://psi.example.org/technology/>

tech:tmxml isa tech:syntax .

Convert this to XTM 2.0:

<topicMap xmlns="http://www.topicmaps.org/xtm/" version="2.0">
  <topic id="id454023">
    <subjectIdentifier href="http://psi.example.org/technology/tmxml"/>
      <topicRef href="#id454132"/>
  <topic id="id454132">
    <subjectIdentifier href="http://psi.example.org/technology/syntax"/>

Result using XTM 2.1:

<topicMap xmlns="http://www.topicmaps.org/xtm/" version="2.1">
    <subjectIdentifier href="http://psi.example.org/technology/tmxml"/>
      <subjectIdentifierRef href="http://psi.example.org/technology/syntax"/>

As you see, the XTM 2.0 syntax forces us to invent additional topic
ids (which are resolved as item identifiers) since we only have the
<topicRef/> available to model the type-instance relationship between
"TM/XML" and "syntax". XTM 2.1 avoids that: No additional topic
identifiers are required since we're able to reference the "syntax"
topic by its subject identifier.

Best regards,

More information about the sc34wg3 mailing list