View Issue Details

IDProjectCategoryView StatusLast Update
0001942NoesisGUIC# SDKpublic2021-03-16 12:45
ReporterDavidYawCSpeedAssigned Tosfernandez 
PrioritynormalSeveritytweakReproducibilityalways
Status assignedResolutionopen 
Product Version3.0.10 
Target Version3.0.12Fixed in Version 
Summary0001942: Change to XAML whitespace affects TextBlock.Run parsing
DescriptionSeen in XamlToy and on C# Windows. Whitespace inside the TextBlock.Inlines element results in an error.

I'm listing this as "Tweak" severity because although an error is reported, it actually works properly.
Steps To Reproduce
  <TextBlock>
    <TextBlock.Inlines>
      <Run Text="A" /><Run Text="B" /><Run Text="C" />
    </TextBlock.Inlines>
  </TextBlock>

Result: Displayed text = "ABC". No errors.

----------------------------------------------------------------

  <TextBlock>
    <TextBlock.Inlines>
      <Run Text="A" />
      <Run Text="B" />
      <Run Text="C" />
    </TextBlock.Inlines>
  </TextBlock>

Result: Displayed Text = "ABC". Error on the line that contains the last Run, "' ' is not a valid value for property Run."

----------------------------------------------------------------

  <TextBlock>
    <TextBlock.Inlines>
      <Run Text="A" /><Run Text="B" /> <Run Text="C" />
    </TextBlock.Inlines>
  </TextBlock>

(There's a space between the second and third Run elements.)
Result: Displayed Text = "ABC". Error on the line that contains the Runs, "' ' is not a valid value for property Run."
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-03-16 00:47 DavidYawCSpeed New Issue
2021-03-16 00:48 DavidYawCSpeed Steps to Reproduce Updated View Revisions
2021-03-16 00:48 DavidYawCSpeed Steps to Reproduce Updated View Revisions
2021-03-16 12:45 jsantos Assigned To => sfernandez
2021-03-16 12:45 jsantos Status new => assigned
2021-03-16 12:45 jsantos Target Version => 3.0.12