它来自这行代码:
var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == nNode.parent().@question_questionID)[0];
nNode 是一个 XML 节点,作为参数发送给调用它的函数。代码运行,并执行预期的所有操作,但编译器发出警告。我有一些格式问题吗?
PS我试过告诉它它是这样的XML:
var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == XML(nNode).parent().@question_questionID)[0];
但我仍然收到警告。