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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2502 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