WIP: Fix invalid XML. #1237

Draft
ConfidantCommunications wants to merge 1 commits from ConfidantCommunications/Component-Builder:confidantcommunications-patch-2 into 5.x
4 changed files with 135 additions and 135 deletions

View File

@@ -436,7 +436,7 @@ final class MainXML implements MainXMLInterface
if ($addComponentPath) if ($addComponentPath)
{ {
$xml .= PHP_EOL . Indent::_(3) . 'addruleprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Rule"'; $xml .= PHP_EOL . Indent::_(3) . 'addruleprefix="' . $this->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) . '>'; $xml .= PHP_EOL . Indent::_(1) . '>';
} }

View File

@@ -436,7 +436,7 @@ final class MainXML implements MainXMLInterface
if ($addComponentPath) if ($addComponentPath)
{ {
$xml .= PHP_EOL . Indent::_(3) . 'addruleprefix="' . $this->config->namespace_prefix . '\Component\\' . $this->contentone->get('ComponentNamespace') . '\Administrator\Rule"'; $xml .= PHP_EOL . Indent::_(3) . 'addruleprefix="' . $this->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) . '>'; $xml .= PHP_EOL . Indent::_(1) . '>';
} }

View File

@@ -23455,7 +23455,7 @@ class Interpretation extends Fields
$xml .= PHP_EOL . Indent::_(3) $xml .= PHP_EOL . Indent::_(3)
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix . 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace') . '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
. '\Administrator\Field">'; . '\Administrator\Field"';
} }
$xml .= PHP_EOL . Indent::_(1) . '>'; $xml .= PHP_EOL . Indent::_(1) . '>';
} }