Skip to content

ambiguous rule match for /mods/subject/geographic  #19

Description

@desmodude750

uiowa-mods-updates-pioneerLives2.xsl contains an ambiguous rule match for /mods/subject/geographic here https://github.com/ui-libraries/ContentDM-Mappings/blob/master/mods-processes/uiowa-mods-updates-pioneerLives2.xsl#L105 and here https://github.com/ui-libraries/ContentDM-Mappings/blob/master/mods-processes/uiowa-mods-updates-pioneerLives2.xsl#L155.

Predicate on line 105 needs to be updated as was here https://github.com/ui-libraries/ContentDM-Mappings/blob/master/mods-processes/uiowa-mods-updates-template.xsl#L105.

This is recoverable, so the transform will complete, but there is no guarantee the results will be as desired. Whoever was running this prior to this PR should have seen:

Recoverable error
XTRE0540: Ambiguous rule match for /modsCollection/mods[1995]/subject[5]
Matches both "mods:subject[mods:geographic[contains(.,'--')]]" on line 155 of
file:/C:/Infoset/Clients/discoverygarden/Projects/UIOWA/ContentDM-Mappings/mods-processes/uiowa-mods-updates-pioneerLives2.xsl
and "mods:subject[mods:geographic]" on line 105 of file:/C:/Infoset/Clients/discoverygarden/Projects/UIOWA/ContentDM-Mappings/mods-processes/uiowa-mods-updates-pioneerLives2.xsl

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions