IRObject value = e.get(aname);
dtstate.traceTagBegin("attribute", "name",aname.stringValue(),"type",getType(e,aname));
switch(e.getEntry(aname).type){
case IRObject.iEntity: {
if(value.type()==IRObject.iNull){
dtstate.traceInfo("value","type","null","value","null",null);
break;
}
dtstate.traceTagBegin("entity",
"name", ((REntity)value).getName().stringValue(),