We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7621456 + 3b4dcf4 commit 99d5d03Copy full SHA for 99d5d03
haxe/ui/parsers/ui/XMLParser.hx
@@ -230,7 +230,7 @@ class XMLParser extends ComponentParser {
230
private function parseDetails(component:ComponentInfo, xml:Xml) {
231
extractNamespaces(xml);
232
233
- if (xml.firstChild() != null && '${xml.firstChild().nodeType}' == "1") {
+ if (xml.firstChild() != null && xml.firstChild().nodeType == PCData) {
234
var value = StringTools.trim(xml.firstChild().nodeValue);
235
if (value != null && value.length > 0) {
236
component.text = value;
@@ -340,4 +340,4 @@ class XMLParser extends ComponentParser {
340
}
341
342
343
-}
+}
0 commit comments