I have a question/concern with the MODS XLINK schema. The various
attributeGroups have a type attribute defined like this:
<attribute name="type" type="string" fixed="simple" form="qualified"/>
My questions is about the fixed="simple". It appears that this
indicates that every element which includes one of these attribute
groups will have an implied xlink:type='simple' attribute whether this
attribute is explicitly included or not, for example:
<mods:titleInfo> is equivalent to <mods:titleInfo xlink:type='simple'>
Is this correct, and was this the intention?
The problem is for example, if I am using an XPath expression such as
"mods:titleInfo[@xlink:type='simple']" to determine whether there is an
xlink or not, depending on the parser (possibly whether it is a
validating parser or not), I will always get a true result whether the
attribute was included explicitly or not.
I've encountered this problem with the MS XML parser. The work around
is to tell the parser not to resolve external definitions, but it still
seems like a problem with the schema, unless the intention was that
every titleInfo really is a simple xlink whether explicitly declared or not.