| 933 | } |
| 934 | |
| 935 | XnStatus XnXmlScriptNode::LoadScriptFromString(const XnChar* strScript) |
| 936 | { |
| 937 | if (!m_doc.Parse(strScript)) |
| 938 | { |
| 939 | XN_LOG_ERROR_RETURN(XN_STATUS_CORRUPT_FILE, XN_MASK_OPEN_NI, |
| 940 | "Failed loading xml: %s [row %d, column %d]", |
| 941 | m_doc.ErrorDesc(), m_doc.ErrorRow(), m_doc.ErrorCol()); |
| 942 | } |
| 943 | |
| 944 | return XN_STATUS_OK; |
| 945 | } |
| 946 | |
| 947 | XnStatus XnXmlScriptNode::Run(xn::NodeInfoList& createdNodes, xn::EnumerationErrors& errors) |
| 948 | { |
no test coverage detected