xpenatan/gdx-teavm

XML Parsing error for text assets

nicolaichuk opened this issue · 0 comments

For all text asset files that i load like

getPreloader().loadAsset("bdx/shaders/2d/bloom.frag", AssetType.Text, null, new AssetLoaderListener<>());
// and others when i used  "AssetType.Text" param

i have error in browser js console:

XML Parsing error: syntax error ... line 1 symbol 1

Why do all text assets load as xml or parse as xml?