if(child.nodeType != 1) continue;\r
if(child.nodeName == "slc:primitive-spec-attribute"){\r
this.setSpecType("primitive");\r
- this.setSpecSubType(org.argeo.ria.util.Element.getSingleNodeText(child, "@type"));\r
+ this.setSpecSubType(org.argeo.ria.util.Element.getSingleNodeText(child, "@type")||"");\r
if(org.argeo.ria.util.Element.getSingleNodeText(child, ".")){\r
this.setValue(org.argeo.ria.util.Element.getSingleNodeText(child, "."));\r
}\r
}else if(child.nodeName == "slc:ref-spec-attribute"){\r
this.setSpecType("ref");\r
- this.setSpecSubType(org.argeo.ria.util.Element.getSingleNodeText(child, "@targetClassName"));\r
+ this.setSpecSubType(org.argeo.ria.util.Element.getSingleNodeText(child, "@targetClassName")||"");\r
}\r
this.set({\r
parameter : (org.argeo.ria.util.Element.getSingleNodeText(child, "@isParameter")=="true"?true:false),\r