Source

GL XML Specs / _BuildDataFromXml.lua

Diff from to

File _BuildDataFromXml.lua

 						elseif(parentNode._elem == "feature") then
 							featData.core = featData.core or {}
 							local profile = "core"
-							if(parentNode.profile == "compatibility" or
+							if(listNode.profile and listNode.profile == "compatibility") then
+								profile = listNode.profile
+							elseif(parentNode.profile == "compatibility" or
 								listNode._elem == "remove") then
 
 								profile = "compatibility"