Project

General

Profile

Actions

Bug #15468

closed

masked characters (<) in xml are destroyed

Added by Martin Sch¶nbeck over 18 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When converting the XML of a TemplateVoila Datastructure, all masked characters seem to be destroyed. This results in !--TYPO3SEARCH_begin-- etc. shown in the frontend and hangups when trying to show for example an ä in the detail view of a DS in the backend. With other characters, especially < and > they are simply removed in the detail view.

AFAICS it appears only with PHP5. My installation with PHP4 doesn't show it on beta1, while with PHP5 the beta1 also had this problem and upgrade to beta2 didn't change anything.

Because it looks like a problem of xml2array, I put it in the core project, not in Templavoila.
(issue imported from #M2335)

Actions #1

Updated by Martin Sch¶nbeck over 18 years ago

I forgot to mention, that I'm using utf-8 and of course TemplaVoila 0.5.0

Actions #2

Updated by Sebastian Kurfuerst over 18 years ago

Hi Robert,
can you please have a look at it?
Thanks,
Sebastian

Actions #3

Updated by Martin Sch¶nbeck over 18 years ago

I've just installed PHP5.1.2 on the system, where I had PHP4 before, because the problem clearly was in the xml_parse_into_struct. With PHP5.1.2 the problem doesn't arise. I'll install it next morning on the other system, where by now PHP5.0.3 is installed and report the result

Martin

Actions #4

Updated by Martin Sch¶nbeck over 18 years ago

I now installed PHP5.1.2 and it works. So I'm sorry for any inconvenience, but at least we know now, TYPO3 won't work witch PHP5.0.3

Martin

Actions #5

Updated by Robert Fink over 18 years ago

I experienced similar problems (with rlmp_officelib parsing xml files) with PHP5.0.3

robert
Actions #6

Updated by Andreas Wolf over 12 years ago

  • Status changed from New to Closed
  • Target version deleted (0)
  • PHP Version deleted (5)

Closing this as it seems to be a PHP bug in an ancient version (5.0.3)

Actions

Also available in: Atom PDF