xlink:type needs to get changed to linktype

btingle avatarbtingle created an issue

augh, more xlink madness

Comments (1)

  1. Anonymous

    actuate=”none” does not seem to be legal in EAD-DTD… should be acutate=”actuatenone”

    http://www.loc.gov/ead/tglib/att_link.html

    ACTUATE -- A control that defines whether a link occurs automatically or must be requested by the user. It is used in conjunction with the SHOW attribute to determine link behavior. Values are: onload (element is displayed automatically) onrequest (element is displayed if user requests) actuateother (some other action occurs with respect to the link) actuatenone (no action occurs with respect to the link

    http://www.w3.org/TR/xlink/#link-behaviors

    xlink:actuate (onLoad

    onRequest
    other
    none) #IMPLIED

    None is implied if left blank; so I guess at2oac could just remove this xlink. But if at2oac already should convert onRequest to onrequest; but it won’t convert other to actuateother right now.

    We have the same f’ed up ness with xlink:show to ead DTD show attribute

    SHOW -- A control that defines whether a remote resource that is the target of a link appears at the point of the link, replaces the existing link, or appears in a new window. It is used in conjunction with the ACTUATE attribute to determine link behavior. Values are: embed (the target resource displays at the point of the link) new (the target resource appears in a new window) replace (the target resource replaces the local resource that initiated the link) showother (some other action takes place with respect to the target resource) shownone (no target resource displays)

    xlink:show (new

    replace
    embed
    other
    none) #IMPLIED

    1) turn xlink:type to linktype 2) when converting xlink *values* to DTD values; not only lower-case them; but if the value is ‘other’ or ‘none’ concatenate the linking attribute local name to the linking attribute value

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.