This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 40906 - CDATA ignored in XAML layout
Summary: CDATA ignored in XAML layout
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.2.0
Hardware: Macintosh All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-05-05 14:23 UTC by Ben Askren
Modified: 2017-01-26 08:31 UTC (History)
4 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:


Description Ben Askren 2016-05-05 14:23:08 UTC
Sorry to bother but I believe I am in need of your help. On a XAML Xamarin.Forms.ContentPage, I am trying to put some (or all) of the content of a Xamarin.Forms.Label in a <![CDATA[ ]]> block. However, it appears that the CDATA contents are ignored. Below is the XAML ContentPage:

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="" xmlns:x="" x:Class="CdataTest.CdataTestPage" Padding="20">
            <![CDATA[<b>Bold</b>]]> Test <![CDATA[<b>Bold</b>]]>

I am expecting the app to display:

  <b>Bold</b> Test <b>Bold</b>

However, it only displays:


I've uploaded a demo project (PCL iOS and Android) here:

Any insight as to what I am doing wrong would be greatly appreciated!
Comment 1 E.Z. Hart 2016-06-06 20:39:52 UTC
Confirmed up through
Comment 2 Stephane Delcroix 2017-01-18 14:07:32 UTC
Comment 3 Stephane Delcroix 2017-01-26 08:31:23 UTC
this will be fixed in 2.3.5

Note You need to log in before you can comment on or make changes to this bug.