GetSimple Support Forum

Full Version: pubDate: CDATA in pages.xml vs page xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I just noticed that the data for pubDate in a page's xml file is not wrapped in CDATA like all other data is. In pages.xml it is wrapped, too.

Example:
In mypage.xml: <pubDate>Mon, 29 Dec 2014 13:48:38 +0100</pubDate>
Everywhere else: <pubDate><![CDATA[Mon, 29 Dec 2014 13:48:38 +0100]]></pubDate>

Is there a reason?

Thanks!

Regards,
Ralf.
one of the functions saved it as text, i think its updateslugs, this is fixed in 3.4
just (string) it when reading it should be fine either way