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.

Customising the CMS /

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


Reply


4 Posts   1516 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 [url=http://open.silverstripe.com/ticket/3677]ticket 3677[/url].

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