From cd71e040c373c3828dae7d7166184e6e7e3e8e20 Mon Sep 17 00:00:00 2001 From: Allan Dowdeswell Date: Tue, 22 Jul 2025 16:39:32 -0600 Subject: [PATCH] Fix invalid XML. --- .../JoomlaFive/Plugin/MainXML.php | 70 +++++++++---------- .../JoomlaFour/Plugin/MainXML.php | 70 +++++++++---------- .../JoomlaThree/Plugin/MainXML.php | 68 +++++++++--------- .../Compiler/Helper/Interpretation.php | 62 ++++++++-------- 4 files changed, 135 insertions(+), 135 deletions(-) diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFive/Plugin/MainXML.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFive/Plugin/MainXML.php index d6eb00919..811b64918 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFive/Plugin/MainXML.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFive/Plugin/MainXML.php @@ -1,4 +1,4 @@ -config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Rule"'; - $xml .= PHP_EOL . Indent::_(3) . 'addfieldprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Field">'; + $xml .= PHP_EOL . Indent::_(3) . 'addfieldprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Field"'; $xml .= PHP_EOL . Indent::_(1) . '>'; } @@ -564,6 +564,6 @@ final class MainXML implements MainXMLInterface } return $languageFiles; - } -} - + } +} + diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFour/Plugin/MainXML.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFour/Plugin/MainXML.php index 03d6f84bf..bb4050c35 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFour/Plugin/MainXML.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaFour/Plugin/MainXML.php @@ -1,4 +1,4 @@ -config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Rule"'; - $xml .= PHP_EOL . Indent::_(3) . 'addfieldprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Field">'; + $xml .= PHP_EOL . Indent::_(3) . 'addfieldprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Field"'; $xml .= PHP_EOL . Indent::_(1) . '>'; } @@ -564,6 +564,6 @@ final class MainXML implements MainXMLInterface } return $languageFiles; - } -} - + } +} + diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaThree/Plugin/MainXML.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaThree/Plugin/MainXML.php index 303200aeb..9b482d036 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaThree/Plugin/MainXML.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Architecture/JoomlaThree/Plugin/MainXML.php @@ -1,4 +1,4 @@ -namespace_prefix . '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace') - . '\Administrator\Field">'; + . '\Administrator\Field"'; } $xml .= PHP_EOL . Indent::_(1) . '>'; } @@ -23678,6 +23678,6 @@ class Interpretation extends Fields public function shouldLanguageBeAdded(&$tag, &$languageStrings, &$total, &$file_name) { return CFactory::_('Language.Translation')->check($tag, $languageStrings, $total, $file_name); - } -} - + } +} + -- 2.49.1