void JSProcessingInstruction::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case DataAttrNum: { ProcessingInstruction* imp = static_cast<ProcessingInstruction*>(impl()); ExceptionCode ec = 0; imp->setData(valueToStringWithNullCheck(exec, value), ec); setDOMException(exec, ec); break; } } }