Support #2640

Use of xlink:href in metadata

Added by Michael Östling over 4 years ago.

Status:NewStart date:10 Dec 2015
Priority:NormalDue date:
Assignee:-% Done:


Target version:-



xlink:href is used for different things within the ISO 19139
It can be used as simple link from one node to an other using an URL similar to a html anchor.
It can also be used for referencing an other object through a URI, it does not have to be dereferencable
It can also be used to reference a xml fragment that replace content of the starting resource.

According to specification the show-attribute should be used to define the type of link.

The 'show' attribute is used to communicate the desired presentation
        of the ending resource on traversal from the starting resource; it's
        value should be treated as follows:
        new - load ending resource in a new window, frame, pane, or other
              presentation context
        replace - load the resource in the same window, frame, pane, or
                  other presentation context
        embed - load ending resource in place of the presentation of the
                starting resource
        other - behavior is unconstrained; examine other markup in the
                link for hints
        none - behavior is unconstrained

This attribute are though seldom used. So it seems that the show behavior is unconstrained.

This means that an application reading a XML with xlink:href have no way of knowing
if the xlink:href should be defined as a link or as a xml-fragment.
So a tool for XML-fragments resolver must have knowledge about what nodes to process.

Since we plan to use xlink:href of different types some more knowledge of this is required.

Anyone having more knowledge on this ?

Also available in: Atom PDF