From: Lady Date: Tue, 26 Nov 2024 04:16:36 +0000 (-0500) Subject: Don’t use literal result elements in parsers X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/refs/heads/current?hp=af35f96d77cd8ae1b6fb5332509ba115f07fefb5 Don’t use literal result elements in parsers Literal result elements inherit name·spaces from their surrounding context. Using `` elements avoids this trouble (and also allows for the removal of name·space prefixes, reducing sizes of results). --- diff --git a/GNUmakefile b/GNUmakefile index 3161ecd..f7809ed 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -575,7 +575,7 @@ listout : # Destroy installed files. uninstall : - $(foreach file,$(installablefiles),$(if $(wildcard $(call installed,$(file))),$(silent)$(PRINTF) '%s\n' $(call quote,Removing …)$(newline)$(silent)$(RM) -f $(call quote,$(call installed,$(file)))$(newline),)) + $(foreach file,$(installablefiles),$(if $(wildcard $(call installed,$(file))),$(silent)$(PRINTF) '%s\n' $(call quote,Removing …)$(newline)$(silent)$(RM) -f -R $(call quote,$(call installed,$(file)))$(newline),)) # Raise an error when attempting to build any files with recursive dependencies. $(call built,$(recursivefiles)) : diff --git a/parsers/plain.xslt b/parsers/plain.xslt index 01e6f8d..3430526 100644 --- a/parsers/plain.xslt +++ b/parsers/plain.xslt @@ -11,14 +11,19 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt diff --git a/parsers/record-jar.xslt b/parsers/record-jar.xslt index abaf08c..b58505d 100644 --- a/parsers/record-jar.xslt +++ b/parsers/record-jar.xslt @@ -11,11 +11,14 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> urn:fdc:ladys.computer:20231231:Shu1She4:record-jar.xslt diff --git a/parsers/tsv.xslt b/parsers/tsv.xslt index 5b3cc68..90e156e 100644 --- a/parsers/tsv.xslt +++ b/parsers/tsv.xslt @@ -11,11 +11,14 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> - + - - + + - + + + col + - + - - - + + + @@ -61,9 +67,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + - + @@ -74,16 +80,16 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + - + - + - - + +