Project

General

Profile

Actions

Bug #76155

closed

Fluid does not detect all xmlns namespaces

Added by Markus Klein over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Fluid
Target version:
Start date:
2016-05-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

<div xmlns:f="..." xmlns:x="...">
  <div xmlns:r="..">asdf</div>
</div>

In the example above only the f and x namespaces are recognized, but r is missing.

The reason is the usage of a wrong variable in \TYPO3\CMS\Fluid\Core\Parser\PreProcessor\XmlnsNamespaceTemplatePreProcessor such that only the first found tag with a namespace definition is searched.

This HTML used to work in CMS 7 and I'm not aware of an according breaking change documentation.

Actions

Also available in: Atom PDF