Hi, I tried to create new elements inside an external function, but createElement() segfaults:
virtual XObjectPtr
execute(
XPathExecutionContext& executionContext,
XalanNode* context,
int /* opPos */,
const XObjectArgVectorType& args)
{
XalanDocument *doc = context->getOwnerDocument();
XalanElement *new_node = doc->createElement(XalanDOMString("foo"));
...
Is this a bug? any workaround?
rgds,
Edwin.
--
CPAN home: http://search.cpan.org/search?author=edpratomo
