From 17bd8169664deedb7f0d97aecac844ce2c4f93e8 Mon Sep 17 00:00:00 2001 From: Kevin Ford Date: Fri, 30 Aug 2024 17:01:31 -0400 Subject: [PATCH] Partial fix for #237; other issues may have been solved earlier. --- test/ConvSpec-1XX,7XX,8XX-names.xspec | 6 +- test/marc2bibframe2.xspec | 12 ---- xsl/ConvSpec-1XX,7XX,8XX-names.xsl | 91 ++++++++++++++++++++++++--- 3 files changed, 86 insertions(+), 23 deletions(-) diff --git a/test/ConvSpec-1XX,7XX,8XX-names.xspec b/test/ConvSpec-1XX,7XX,8XX-names.xspec index 235fb11c..0a917ad6 100644 --- a/test/ConvSpec-1XX,7XX,8XX-names.xspec +++ b/test/ConvSpec-1XX,7XX,8XX-names.xspec @@ -65,17 +65,17 @@ - + - + - + diff --git a/test/marc2bibframe2.xspec b/test/marc2bibframe2.xspec index ae4c44bb..82bdbbbb 100644 --- a/test/marc2bibframe2.xspec +++ b/test/marc2bibframe2.xspec @@ -577,9 +577,6 @@ - - White House (Washington, D.C.) - White House (Washington, D.C.) 61020$aWhite House (Washington, D.C.) @@ -588,9 +585,6 @@ - - United States. Executive Office of the President. - United States. Executive Office of the President. 61010$aUnited States.$bExecutive Office of the President. @@ -599,9 +593,6 @@ - - United States. Office of the Vice President. - United States. Office of the Vice President. 61010$aUnited States.$bOffice of the Vice President. @@ -610,9 +601,6 @@ - - United States. Office of the First Lady. - United States. Office of the First Lady. 61010$aUnited States.$bOffice of the First Lady. diff --git a/xsl/ConvSpec-1XX,7XX,8XX-names.xsl b/xsl/ConvSpec-1XX,7XX,8XX-names.xsl index 83d42c67..674be52d 100644 --- a/xsl/ConvSpec-1XX,7XX,8XX-names.xsl +++ b/xsl/ConvSpec-1XX,7XX,8XX-names.xsl @@ -645,6 +645,7 @@ Uncontrolled + @@ -766,18 +768,91 @@ contains(marc:subfield[@code='1'], 'id.loc.gov/rwo/') and not(marc:subfield[@code='0' or @code='w'][starts-with(text(),'(uri)') or starts-with(text(),'http')])"> - - - bf:Agent - - + + + + + + bf:Agent + + + + + + + + + + + + + + + + + + + + + bf:Agent + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +