View Issue Details

IDProjectCategoryView StatusLast Update
0003311NoesisGUIC# SDKpublic2024-05-17 17:24
Reportervoula_d Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version3.2.3 
Target Version3.2.4Fixed in Version3.2.4 
Summary0003311: Parsing special character ° with XamlReader fails
Description

Trying to parse xaml that contains the special character "°", throws an exception.

PlatformAny

Activities

jsantos

jsantos

2024-05-16 14:13

manager   ~0009532

Could you please paste a XAML reproducing the issue?

voula_d

voula_d

2024-05-17 09:14

reporter   ~0009533

The following xaml reproduces the issue when passing it to Noesis.GUI.ParseXaml:
<UserControl xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml>
<UserControl.Resources>
<Style TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Content" Value="Submit" /></Style>
</UserControl.Resources>
<Grid>
<Button Width="100" Height="25"/>
<TextBlock Text="1-piece 135° duct" />
</Grid>
</UserControl>

sfernandez

sfernandez

2024-05-17 12:14

manager   ~0009534

Last edited: 2024-05-17 12:15

Hi, if I load that attached xaml it complains about invalid token, because the xmlns definitions are missing the quotes.
If I fix that, then the xaml loads as expected. Perhaps the xaml was saved with a different encoding, could you please attach the file itself, not the xaml code?

voula_d

voula_d

2024-05-17 12:33

reporter   ~0009535

I'm sorry about the missing quotes, the xaml I am using to reproduce the issue contains the quotes and is still not rendering both the button and the TextBlock. I can see the "Invalid Token" error in the Output. I am attaching a simple project that reproduces the issue.
Thank you.

NoesisTest.zip (97,364 bytes)

Issue History

Date Modified Username Field Change
2024-05-15 15:30 voula_d New Issue
2024-05-16 14:13 jsantos Assigned To => jsantos
2024-05-16 14:13 jsantos Status new => assigned
2024-05-16 14:13 jsantos Target Version => 3.2.4
2024-05-16 14:13 jsantos Note Added: 0009532
2024-05-16 14:14 jsantos Status assigned => feedback
2024-05-17 09:14 voula_d Note Added: 0009533
2024-05-17 09:14 voula_d Status feedback => assigned
2024-05-17 12:14 sfernandez Status assigned => feedback
2024-05-17 12:14 sfernandez Note Added: 0009534
2024-05-17 12:15 sfernandez Note Edited: 0009534
2024-05-17 12:33 voula_d Note Added: 0009535
2024-05-17 12:33 voula_d File Added: NoesisTest.zip
2024-05-17 12:33 voula_d Status feedback => assigned
2024-05-17 17:24 sfernandez Assigned To jsantos => sfernandez
2024-05-17 17:24 sfernandez Status assigned => resolved
2024-05-17 17:24 sfernandez Resolution open => fixed
2024-05-17 17:24 sfernandez Product Version 3.2 => 3.2.3
2024-05-17 17:24 sfernandez Fixed in Version => 3.2.4