Issue Bug Closed

#76155Fluid does not detect all xmlns namespaces

Markus Klein 05/11/16, 17:29 updated 10/17/17, 23:24

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.

Reviews 1