Print

Print


I think what he's getting at (correct me if I'm wrong, Thomas) is that every <titleInfo>, <relatedItem>, etc. in the post-schema validation infoset is a simple XLink, even if there's no "href" attribute. That is valid, since "href" is only required on locator type XLinks (http://www.w3.org/TR/xlink/#N1238). XLink-aware processing should, then, check both attributes as you suggest.

--Andy

>>> [log in to unmask] 05/02/05 6:12 PM >>>
Thomas G. Habing wrote:
Why would you test for the simple?  Why not just do:

        mods:titleInfo[@xlink:href and not(@xlink:type='whatever')]