%description: Check xml(): no such element in XML document %global: #ifdef _MSC_VER #pragma warning(disable:4786) #endif %file: test.ned simple Simple { parameters: xml xmlconfig; } simple Test extends Simple { parameters: @isNetwork(true); string doc = " one six "; // same as in the corresponding xmldoc test xmlconfig = xml(doc, "foo/nothing"); } %file: test.cc #include #include using namespace omnetpp; namespace @TESTNAME@ { class Simple : public cSimpleModule { public: Simple() : cSimpleModule(16384) { } virtual void activity() override; }; Define_Module(Simple); void Simple::activity() { } }; //namespace %exitcode: 1 %contains: stderr Element not found