Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

" character in title - 2.2 not XML conform - 2.3 OK


Go to End


4 Posts   1912 Views

Avatar
SalvaStripe

Community Member, 89 Posts

19 May 2009 at 11:32pm

" character in title - 2.2 not XML conform - 2.3 OK

hello,
i have a big project, its on ss2.2.3.. maybe soon i will update it. when i have a " in the Title line, then i get this:

XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://domain.de/?stage=Live
Zeile Nr. 43, Spalte 37: <li><a href="/home/" title=""Ãœber uns"" class="nav current">Ãœber uns</a></li>

(it shows to the double "" characters after the "title" word.)
in 2.3.1 this error is already fixed.

I dont know WHERE i can fix this error.. there are soooo many files, i cant find the correct place.

someone help me?

Avatar
PGiessler

Community Member, 47 Posts

20 May 2009 at 7:35pm

Hi SalvaStripe,

you can search in your Development-Environment for the error. I don't know, maybe you can use Debug::dump() to localise the error.

Best regards

Pascal

Avatar
Ben Gribaudo

Community Member, 181 Posts

20 May 2009 at 11:42pm

Edited: 20/05/2009 11:43pm

Hi Pascal,

Try looking in sapphire/core/Convert.php. For an example, see the patch and the revision associated with ticket 3677.

Ben

Avatar
SalvaStripe

Community Member, 89 Posts

28 May 2009 at 10:59pm

all right, i did the fix in Convert.php and it works fine.

thanks