From 233ac50994b99c0d56143ae5891f5f7df6f1faf1 Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Tue, 18 Feb 2025 01:50:17 +0100 Subject: [PATCH 1/9] extending the conditions in the whole xslt --- xslt/articles/xslt-article-Datacite.xslt | 73 ++++++++++++++---------- 1 file changed, 44 insertions(+), 29 deletions(-) diff --git a/xslt/articles/xslt-article-Datacite.xslt b/xslt/articles/xslt-article-Datacite.xslt index ed826437..263715e2 100644 --- a/xslt/articles/xslt-article-Datacite.xslt +++ b/xslt/articles/xslt-article-Datacite.xslt @@ -21,17 +21,27 @@ Made by Shiraz Malla Mohamad member of zbmath Team--> - + + - - + + + - + + + @@ -102,7 +112,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - :unav + :unav @@ -111,7 +121,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - :unav + :unav @@ -120,7 +130,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - :unav + :unav @@ -129,7 +139,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - :unav + :unav @@ -144,7 +154,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'">:unkn</xsl:when> + <xsl:when test="normalize-space(.) = '' or normalize-space(.) = 'None' or normalize-space(.) = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')">:unav</xsl:when> <xsl:otherwise> <xsl:value-of select="normalize-space(.)"/> </xsl:otherwise> @@ -157,7 +167,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <xsl:template match="publisher"> <publisher xml:lang="en"> <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'">:unav</xsl:when> + <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')">:unav</xsl:when> <xsl:otherwise> <xsl:value-of select="."/> </xsl:otherwise> @@ -168,7 +178,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <xsl:template match="year"> <publicationYear> <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'">:unav</xsl:when> + <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none' or not(number(.))">:unav</xsl:when> <xsl:otherwise> <xsl:value-of select="."/> </xsl:otherwise> @@ -178,13 +188,20 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <!-- Template for processing the language of the document --> + <xsl:template match="languages"> - <xsl:if test="normalize-space(.) != '' and . != 'None'and . != 'none'"> - <language> - <xsl:value-of select="."/> - </language> - </xsl:if> - </xsl:template> + <language> + <xsl:choose> + <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> + <xsl:text>:unkn</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="normalize-space(.)"/> + </xsl:otherwise> + </xsl:choose> + </language> + </xsl:template> + <!-- Template for processing the document type which can be various and needs to be properly handeld --> <xsl:template match="description"> <resourceType> @@ -215,8 +232,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <titles> <title> <xsl:choose> - <xsl:when - test="normalize-space(series/title) = '' or series/title = 'None' or series/title = 'none'"> + <xsl:when test="normalize-space(series/title) = '' or series/title = 'None' or series/title = 'none' or contains(series/title, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -227,7 +243,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </titles> <publicationYear> <xsl:choose> - <xsl:when test="normalize-space(series/year) = '' or series/year = 'None' or series/year = 'none'"> + <xsl:when test="normalize-space(series/year) = '' or series/year = 'None' or series/year = 'none' or contains(series/year, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses') or not(number(series/year))"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -269,8 +285,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <!-- Process publisher --> <publisher> <xsl:choose> - <xsl:when - test="normalize-space(series/publisher) = '' or series/publisher = 'None' or series/publisher = 'none'"> + <xsl:when test="normalize-space(series/publisher) = '' or series/publisher = 'None' or series/publisher = 'none' or contains(series/publisher, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -283,7 +298,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <!-- Template for processing text node into description text with its subproperty --> <xsl:template match="text"> - <xsl:if test="normalize-space(.) != '' and . != 'None'and . != 'none'"> + <xsl:if test="normalize-space(.) != '' and . != 'None' and . != 'none' and not(contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))"> <description xml:lang="en" descriptionType="Abstract"> <xsl:value-of select="normalize-space(.)"/> @@ -309,7 +324,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <xsl:template match="keywords"> - <xsl:if test="normalize-space(.) != '' and . != 'None'and . != 'none'"> + <xsl:if test="normalize-space(.) != '' and . != 'None' and . != 'none'"> <subject subjectScheme="keyword"> <xsl:value-of select="."/> @@ -354,7 +369,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <creator> <creatorName nameType="Personal"> <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'"> + <xsl:when test="normalize-space(.) = '' or normalize-space(.) = 'None' or normalize-space(.) = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -387,7 +402,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </creatorName> <givenName> <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'"> + <xsl:when test="normalize-space(.) = '' or normalize-space(.) = 'None' or normalize-space(.) = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -412,7 +427,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </givenName> <familyName> <xsl:choose> - <xsl:when test="normalize-space(.) = '' or . = 'None' or . = 'none'"> + <xsl:when test="normalize-space(.) = '' or normalize-space(.) = 'None' or normalize-space(.) = 'none' or contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <xsl:text>:unav</xsl:text> </xsl:when> <xsl:otherwise> @@ -428,7 +443,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </creators> <titles> <xsl:choose> - <xsl:when test="normalize-space(text) = '' or text = 'None' or text = 'none'"> + <xsl:when test="normalize-space(text) = '' or text = 'None' or text = 'none' or contains(text, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')"> <title>:unav @@ -472,7 +487,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - + :unav From 689140694ed33d82f63ddd7fa75e779dcc5b5b4d Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Tue, 18 Feb 2025 18:17:26 +0100 Subject: [PATCH 2/9] completing the adjustments --- xslt/articles/xslt-article-Datacite.xslt | 55 ++++++++++++++++-------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/xslt/articles/xslt-article-Datacite.xslt b/xslt/articles/xslt-article-Datacite.xslt index 263715e2..5573d4d5 100644 --- a/xslt/articles/xslt-article-Datacite.xslt +++ b/xslt/articles/xslt-article-Datacite.xslt @@ -46,7 +46,6 @@ Made by Shiraz Malla Mohamad member of zbmath Team--> - @@ -221,14 +220,19 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or - + + - - - - - + + + + + + <xsl:choose> @@ -294,6 +298,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </xsl:choose> </publisher> </relatedItem> + </xsl:if> </xsl:template> <!-- Template for processing text node into description text with its subproperty --> @@ -350,20 +355,33 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or <!-- Template to match references and transform into relatedItems each reference has its own relatedItem node and all of its values goes under this node --> <xsl:template match="references" mode="relatedItems"> + <xsl:if test="(normalize-space(doi) != '' + and doi != 'None' + and doi != 'none' + and not(contains(doi, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))) + or + (normalize-space(zbmath/document_id) != '' + and zbmath/document_id != 'None' + and zbmath/document_id != 'none' + and not(contains(zbmath/document_id, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses')))"> <relatedItem relatedItemType="JournalArticle" relationType="Cites"> - <!-- the relatedItemIdentifier should have the same value of identifier as they are in the relatedIdentifiers --> - <relatedItemIdentifier> - <xsl:choose> - <xsl:when test="doi[normalize-space()]"> - <xsl:attribute name="relatedItemIdentifierType">DOI</xsl:attribute> - <xsl:value-of select="doi"/> + + <relatedItemIdentifier> + <xsl:choose> + <xsl:when test="normalize-space(doi) != '' + and doi != 'None' + and doi != 'none' + and not(contains(doi, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))"> + <xsl:attribute name="relatedItemIdentifierType">DOI</xsl:attribute> + <xsl:value-of select="doi"/> </xsl:when> - <xsl:otherwise> - <xsl:attribute name="relatedItemIdentifierType">URL</xsl:attribute> - <xsl:value-of select="concat('https://zbmath.org/', zbmath/document_id)"/> + <xsl:otherwise> + <xsl:attribute name="relatedItemIdentifierType">URL</xsl:attribute> + <xsl:value-of select="concat('https://zbmath.org/', zbmath/document_id)"/> </xsl:otherwise> - </xsl:choose> - </relatedItemIdentifier> + </xsl:choose> + </relatedItemIdentifier> + <creators> <xsl:for-each select="zbmath/author_codes"> <creator> @@ -496,5 +514,6 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </xsl:choose> </publicationYear> </relatedItem> + </xsl:if> </xsl:template> </xsl:stylesheet> From 03b0c1d391879096c16e2c08d9015902f9fdabb7 Mon Sep 17 00:00:00 2001 From: shirazos7 <shiraz@zbmath.org> Date: Tue, 18 Feb 2025 20:08:08 +0100 Subject: [PATCH 3/9] adjusting the related Identifiers --- xslt/articles/xslt-article-Datacite.xslt | 50 +++++++++++++++++------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/xslt/articles/xslt-article-Datacite.xslt b/xslt/articles/xslt-article-Datacite.xslt index 5573d4d5..13f3a490 100644 --- a/xslt/articles/xslt-article-Datacite.xslt +++ b/xslt/articles/xslt-article-Datacite.xslt @@ -44,10 +44,19 @@ Made by Shiraz Malla Mohamad member of zbmath Team--> <xsl:apply-templates select="root/language/languages"/> <xsl:apply-templates select="root/document_type/description"/> - <relatedIdentifiers> - <xsl:apply-templates select="//references/doi[normalize-space()]"/> - <xsl:apply-templates select="//references[doi[not(normalize-space())]]"/> - </relatedIdentifiers> + <xsl:if test="//references[ + (doi[normalize-space() and + . != 'None' and . != 'none' and + not(contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))]) + or + (zbmath/document_id[normalize-space() and + . != 'None' and . != 'none' and + not(contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))]) + ]"> + <relatedIdentifiers> + <xsl:apply-templates select="//references"/> + </relatedIdentifiers> + </xsl:if> <!-- Wrap the rights element inside a rightsList element --> <rightsList> <!-- this generates the copyrights and legal aspect wihtin the xslt --> <rights xml:lang="en" @@ -338,17 +347,28 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or </xsl:template> - <xsl:template match="doi[normalize-space()]"> - <relatedIdentifier relatedIdentifierType="DOI" relationType="Cites" resourceTypeGeneral="JournalArticle"> - <xsl:value-of select="normalize-space(.)"/> - </relatedIdentifier> - </xsl:template> - - - <xsl:template match="references[not(doi[normalize-space()])]"> - <relatedIdentifier relatedIdentifierType="URL" relationType="IsCitedBy"> - <xsl:value-of select="concat('https://zbmath.org/', zbmath/document_id)"/> - </relatedIdentifier> + <xsl:template match="references"> + <xsl:choose> + <!-- If DOI is valid, use DOI --> + <xsl:when test="normalize-space(doi) != '' + and doi != 'None' + and doi != 'none' + and not(contains(doi, 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))"> + <relatedIdentifier relatedIdentifierType="DOI" relationType="Cites" resourceTypeGeneral="JournalArticle"> + <xsl:value-of select="normalize-space(doi)"/> + </relatedIdentifier> + </xsl:when> + + <!-- Otherwise, check zbmath/document_id --> + <xsl:when test="zbmath/document_id[normalize-space() + and . != 'None' + and . != 'none' + and not(contains(., 'zbMATH Open Web Interface contents unavailable due to conflicting licenses'))]"> + <relatedIdentifier relatedIdentifierType="URL" relationType="IsCitedBy"> + <xsl:value-of select="concat('https://zbmath.org/', zbmath/document_id)"/> + </relatedIdentifier> + </xsl:when> + </xsl:choose> </xsl:template> From 45856630556da56c05df2cb328a8c0ddc3e09085 Mon Sep 17 00:00:00 2001 From: shirazos7 <shiraz@zbmath.org> Date: Tue, 18 Feb 2025 20:09:38 +0100 Subject: [PATCH 4/9] reshaping the reference file according to xslt changes --- test/data/articles/Test_Reference-Datacite.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/data/articles/Test_Reference-Datacite.xml b/test/data/articles/Test_Reference-Datacite.xml index 4e10dd1d..e121890e 100644 --- a/test/data/articles/Test_Reference-Datacite.xml +++ b/test/data/articles/Test_Reference-Datacite.xml @@ -20,8 +20,8 @@ <description xml:lang="en" descriptionType="Abstract">The prime \(k\)-tuples and small gaps between prime numbers are considered. Using a refinement of the Goldston-Pintz-Yildirim sieve method [\textit{D. A. Goldston} et al., Ann. Math. (2) 170, No. 2, 819--862 (2009; Zbl 1207.11096)] the author proves, for instance, the following estimates \[ \liminf_{n\to\infty}\,(p_{n+m}-p_n)\ll m^3\text{{e}}^{4m}, \quad \liminf_{n\to\infty}\,(p_{n+1}-p_n)\leq 600 \] with an absolute constant in sign \(\ll\). Here \(m\) is a natural number, and \(p_{\,l}\) denote the \(l\)-th prime number.</description> </descriptions> <titles> - <title xml:lang="en">Small gaps between primes - + Small gaps between primes + Princeton University, Mathematics Department, Princeton, NJ 2015 @@ -39,17 +39,17 @@ English journal article + https://zbmath.org/3377327 10.2307/1971450 10.1112/plms/pdn046 10.7169/facm/1229442618 10.4007/annals.2009.170.819 10.1112/plms/pdm010 - 10.4007/annals.2014.179.3.7 - https://zbmath.org/3377327 - https://zbmath.org/6587992 + https://zbmath.org/6587992 https://zbmath.org/195021 + 10.4007/annals.2014.179.3.7 - + The zbMATH Open OAI-PMH API is subject to the Terms and Conditions for the zbMATH Open API Service of FIZ Karlsruhe – Leibniz-Institut für Informationsinfrastruktur GmbH. Content generated by zbMATH Open, such as reviews, classifications, software, or author disambiguation data, are distributed under CC-BY-SA 4.0. This defines the license for the whole dataset, which also contains non-copyrighted bibliographic metadata and reference data derived from I4OC (CC0). Note that the API only provides a subset of the data in the zbMATH Open Web interface. In several cases, third-party information, such as abstracts, cannot be made available under a suitable license through the API. In those cases, we replaced the data with the string From 0c492d79901239eb95a6ba2589c1814af1270368 Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Tue, 18 Feb 2025 20:17:38 +0100 Subject: [PATCH 5/9] updating the api version --- test/test_zbMATH_API_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_zbMATH_API_version.py b/test/test_zbMATH_API_version.py index 90ed75f5..fbb9080c 100644 --- a/test/test_zbMATH_API_version.py +++ b/test/test_zbMATH_API_version.py @@ -17,7 +17,7 @@ def get_api_version(url): class TestAPIVersion(unittest.TestCase): def test_api_version_matches(self): url = "https://api.zbmath.org/openapi.json" - expected_version = "1.5.8" + expected_version = "1.7.0" actual_version = get_api_version(url) self.assertEqual(actual_version, expected_version, f"Expected API version {expected_version}, but got {actual_version}") From 89a7a8ad58671da3b6e8faafc944e8ac3f57165e Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Thu, 20 Feb 2025 11:09:05 +0100 Subject: [PATCH 6/9] adding some missing elements --- test/data/articles/plain.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/data/articles/plain.xml b/test/data/articles/plain.xml index ee89c013..d5a2b500 100644 --- a/test/data/articles/plain.xml +++ b/test/data/articles/plain.xml @@ -49,42 +49,42 @@ 10.4007/annals.2015.181.1.7 doi - + https://doi.org/10.4007/annals.2015.181.1.7 1311.4600 arxiv - + https://arxiv.org/abs/1311.4600 A1097 oeis - + https://oeis.org/A1097 A38664 oeis - + https://oeis.org/A38664 A46133 oeis - + https://oeis.org/A46133 A231607 oeis - + https://oeis.org/A231607 A235686 oeis - + https://oeis.org/A235686 A244368 oeis - + https://oeis.org/A244368 11N05 From 75bfbfccae68f59132f08f6ede30fb81688a0800 Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Thu, 20 Feb 2025 14:21:44 +0100 Subject: [PATCH 7/9] changing some elements acoording to the new update --- test/data/articles/invalid_chr.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/data/articles/invalid_chr.xml b/test/data/articles/invalid_chr.xml index 45bc769b..c23a5bd9 100644 --- a/test/data/articles/invalid_chr.xml +++ b/test/data/articles/invalid_chr.xml @@ -6,7 +6,7 @@ 0 jasinski.jakub - Jasiński, Jakub + JasiÅ„ski, Jakub @@ -18,7 +18,7 @@ 1 nguyen-van-the.lionel - Thé, Lionel Nguyen Van + Thé, Lionel Nguyen Van @@ -61,7 +61,7 @@ 1310.6466 arxiv - + https://arxiv.org/abs/1310.6466 @@ -122,7 +122,7 @@ 3 - ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In + ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In @@ -1069,7 +1069,7 @@ 337431 - Prof. André Kündgen c/o California State University San Marcos, Deptartment of Mathematics, San Marcos, CA + Prof. André Kündgen c/o California State University San Marcos, Deptartment of Mathematics, San Marcos, CA 2064 Electron. J. Comb. The Electronic Journal of Combinatorics From 7b59e7535ef9aa5182ea9ea1b6176f150fcf6c27 Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Thu, 20 Feb 2025 15:05:46 +0100 Subject: [PATCH 8/9] making some changes --- test/data/articles/invalid_chr.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/data/articles/invalid_chr.xml b/test/data/articles/invalid_chr.xml index c23a5bd9..13edbd61 100644 --- a/test/data/articles/invalid_chr.xml +++ b/test/data/articles/invalid_chr.xml @@ -6,7 +6,7 @@ 0 jasinski.jakub - JasiÅ„ski, Jakub + JasiÅ„ski, Jakub @@ -18,7 +18,7 @@ 1 nguyen-van-the.lionel - Thé, Lionel Nguyen Van + Thé, Lionel Nguyen Van @@ -122,7 +122,7 @@ 3 - ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In + ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In @@ -135,7 +135,7 @@ 4 - ∗is made of all pairs (i, x) with i ∈ [n] and x ∈ T∗. When R is a relational symbol in LT∗r {<}, set RT[In]∗(~u) iff RT∗(~x), where ~u = ((k, x1), . . . , (k, xn)), for some k. As for <, interpret it as the lexicographical ordering of the usual order on [n] and <∗as per T∗. Finally, add to the resulting structure n new unary predicates (PiIn + ∗is made of all pairs (i, x) with i ∈ [n] and x ∈ T∗. When R is a relational symbol in LT∗r {<}, set RT[In]∗(~u) iff RT∗(~x), where ~u = ((k, x1), . . . , (k, xn)), for some k. As for <, interpret it as the lexicographical ordering of the usual order on [n] and <∗as per T∗. Finally, add to the resulting structure n new unary predicates (PiIn @@ -148,7 +148,7 @@ 5 - ∗)i∈[n]defined by PiIn + ∗)i∈[n]defined by PiIn @@ -161,7 +161,7 @@ 6 - ∗(j, x) iff j = i. Note that therefore P0In + ∗(j, x) iff j = i. Note that therefore P0In @@ -174,7 +174,7 @@ 7 - ∗<In + ∗<In @@ -187,7 +187,7 @@ 8 - ∗· · · <In + ∗· · · <In @@ -200,7 +200,7 @@ 9 - ∗Pn−1In + ∗Pn−1In From 29de652490966b742c55ccb6981bccf0cacde3ee Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Thu, 20 Feb 2025 15:17:37 +0100 Subject: [PATCH 9/9] making some changes again --- test/data/articles/invalid_chr.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/data/articles/invalid_chr.xml b/test/data/articles/invalid_chr.xml index 13edbd61..399f246e 100644 --- a/test/data/articles/invalid_chr.xml +++ b/test/data/articles/invalid_chr.xml @@ -6,7 +6,7 @@ 0 jasinski.jakub - JasiÅ„ski, Jakub + Jasiński, Jakub @@ -18,7 +18,7 @@ 1 nguyen-van-the.lionel - Thé, Lionel Nguyen Van + Thé, Lionel Nguyen Van @@ -64,9 +64,9 @@ https://arxiv.org/abs/1310.6466 - + www.combinatorics.org/ojs/index.php/eljc/article/view/v21i4p42 http - www.combinatorics.org/ojs/index.php/eljc/article/view/v21i4p42 + http://www.combinatorics.org/ojs/index.php/eljc/article/view/v21i4p42 05C55 @@ -122,7 +122,7 @@ 3 - ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In + ∗as the disjoint union of n copies of T∗, for which each copy of T∗ corresponds to a unary predicate, and which is equipped with a convex linear order that orders the parts in a given specific pattern. More formally, the universe of In @@ -135,7 +135,7 @@ 4 - ∗is made of all pairs (i, x) with i ∈ [n] and x ∈ T∗. When R is a relational symbol in LT∗r {<}, set RT[In]∗(~u) iff RT∗(~x), where ~u = ((k, x1), . . . , (k, xn)), for some k. As for <, interpret it as the lexicographical ordering of the usual order on [n] and <∗as per T∗. Finally, add to the resulting structure n new unary predicates (PiIn + ∗is made of all pairs (i, x) with i ∈ [n] and x ∈ T∗. When R is a relational symbol in LT∗r {<}, set RT[In]∗(~u) iff RT∗(~x), where ~u = ((k, x1), . . . , (k, xn)), for some k. As for <, interpret it as the lexicographical ordering of the usual order on [n] and <∗as per T∗. Finally, add to the resulting structure n new unary predicates (PiIn @@ -148,7 +148,7 @@ 5 - ∗)i∈[n]defined by PiIn + ∗)i∈[n]defined by PiIn @@ -161,7 +161,7 @@ 6 - ∗(j, x) iff j = i. Note that therefore P0In + ∗(j, x) iff j = i. Note that therefore P0In @@ -174,7 +174,7 @@ 7 - ∗<In + ∗<In @@ -187,7 +187,7 @@ 8 - ∗· · · <In + ∗· · · <In @@ -200,7 +200,7 @@ 9 - ∗Pn−1In + ∗Pn−1In @@ -1069,7 +1069,7 @@ 337431 - Prof. André Kündgen c/o California State University San Marcos, Deptartment of Mathematics, San Marcos, CA + Prof. André Kündgen c/o California State University San Marcos, Deptartment of Mathematics, San Marcos, CA 2064 Electron. J. Comb. The Electronic Journal of Combinatorics