View Issue Details

IDProjectCategoryView StatusLast Update
0002228NoesisGUIUnitypublic2022-01-05 15:47
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status resolvedResolutionno change required 
Product Version3.1.2 
Target Version3.1.3 
Summary0002228: XAML Not Found Error and Unicode Characters
Description

XAML containing certain Unicode characters causes Noesis to throw a cryptic XAML not found 'filename' error. The actual cause is the presence of certain Unicode characters.

Example 1:
<TextBlock Text="Å"/>

Example 2:
<!-- Å -->

[NOESIS/E] Assets/User Interface/UIStateMachine.xaml(27): Xaml not found 'filename' C:/Users/stons/Source/StellarConquest/StellarConquest.Utilities/Noesis/3.1.2/Runtime/NoesisUnity.cs:357)
Noesis.GUI:LoadComponent (object,string) (at C:/Users/stons/Source/StellarConquest/StellarConquest.Utilities/Noesis/3.1.2/Runtime/API/Core/NoesisGUI.cs:322)

Steps To Reproduce

Add one of the following to an XAML file:

<TextBlock Text="Å"/>

OR

<!-- Å -->

I'm using default file encoding.

Attached Files
PlatformAny

Activities

sfernandez

sfernandez

2022-01-03 12:21

manager   ~0007706

I'm not able to reproduce this issue, could you attach a file that fails for you?

jsantos

jsantos

2022-01-03 13:28

manager   ~0007707

Also, make sure the XAML is saved with UTF8 encoding

stonstad

stonstad

2022-01-04 17:46

reporter   ~0007712

Encl. associated XAML and VS encoding configuration for file.

UIStateMachine.xaml (2,248 bytes)   
<UserControl
    x:Class="StellarConquest.Presentation.Unity.UI.UIStateMachine"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:noesis="clr-namespace:NoesisGUIExtensions"
    xmlns:local="clr-namespace:StellarConquest.Presentation.Unity.UI"
    x:Name="_UIStateMachine"
    d:DesignWidth="1280" d:DesignHeight="720">
    <noesis:Xaml.Dependencies>
        <noesis:Dependency Source="/Assets/User Interface/Controls/Input Control/InputControl.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Controls/Transition Control/TransitionControl.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Controls/Radial Range Control/RadialRangeControl.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Screens/Login/LoginScreen.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Screens/Character Selection/CharacterSelectionScreen.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Screens/Character Creation/CharacterCreationScreen.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Screens/Game/GameScreen.xaml"/>
        <noesis:Dependency Source="/Assets/User Interface/Screens/Overlay Layer/OverlayLayer.xaml"/>
    </noesis:Xaml.Dependencies>
    <Grid>
        <Grid x:Name="_BaseLayer"/>
        <Rectangle x:Name="_ConnectionRectangle" Height="128" Width="128" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="9" Fill="{StaticResource connection}" IsHitTestVisible="False" Visibility="Collapsed">
            <Rectangle.Effect>
                <DropShadowEffect BlurRadius="15" ShadowDepth="0" Opacity="1"/>
            </Rectangle.Effect>
        </Rectangle>
        <local:OverlayLayer x:Name="_OverlayLayer"/>
        <local:TransitionControl x:Name="_TransitionLayer"/>

        <local:RadialRangeControl ScaleMinimumAngle="-150" ScaleMaximumAngle="150" ScaleBrush="Silver" TextStringFormat="{}{0}-{1}" Width="500" Height="500" />

    </Grid>
</UserControl>
UIStateMachine.xaml (2,248 bytes)   
Encoding.png (23,558 bytes)   
Encoding.png (23,558 bytes)   
jsantos

jsantos

2022-01-04 17:48

manager   ~0007713

Changing the encoding to UTF8 should fix the issue. We are only compatible with that encoding.

stonstad

stonstad

2022-01-04 21:45

reporter   ~0007714

Understood. Thank you.

jsantos

jsantos

2022-01-05 10:31

manager   ~0007715

Please, let us know if we can close this.

Thank you!

stonstad

stonstad

2022-01-05 15:01

reporter   ~0007716

Yes, and thank you!

Issue History

Date Modified Username Field Change
2022-01-02 20:19 stonstad New Issue
2022-01-03 11:45 sfernandez Assigned To => sfernandez
2022-01-03 11:45 sfernandez Status new => assigned
2022-01-03 11:45 sfernandez Target Version => 3.1.3
2022-01-03 12:21 sfernandez Status assigned => feedback
2022-01-03 12:21 sfernandez Note Added: 0007706
2022-01-03 13:28 jsantos Note Added: 0007707
2022-01-04 17:46 stonstad File Added: UIStateMachine.xaml
2022-01-04 17:46 stonstad File Added: Encoding.png
2022-01-04 17:46 stonstad Note Added: 0007712
2022-01-04 17:46 stonstad Status feedback => assigned
2022-01-04 17:48 jsantos Note Added: 0007713
2022-01-04 17:48 jsantos Status assigned => feedback
2022-01-04 21:45 stonstad Note Added: 0007714
2022-01-04 21:45 stonstad Status feedback => assigned
2022-01-05 10:31 jsantos Note Added: 0007715
2022-01-05 10:31 jsantos Status assigned => feedback
2022-01-05 15:01 stonstad Note Added: 0007716
2022-01-05 15:01 stonstad Status feedback => assigned
2022-01-05 15:47 jsantos Status assigned => resolved
2022-01-05 15:47 jsantos Resolution open => no change required
2025-10-10 13:29 jsantos Category Unity3D => Unity