https://bugs.documentfoundation.org/show_bug.cgi?id=157848
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Julien Nabet <[email protected]> --- I know nothing about xForms but when debugging, I got this part of bt when opening the form: #0 XPath::structured_error_func(void*, _xmlError*) (error=0x5654ac1cd078) at unoxml/source/xpath/xpathapi.cxx:264 #1 0x00007f0b82d078ea in () at /lib/x86_64-linux-gnu/libxml2.so.2 #2 0x00007f0b82d08de1 in () at /lib/x86_64-linux-gnu/libxml2.so.2 #3 0x00007f0b82d08d35 in () at /lib/x86_64-linux-gnu/libxml2.so.2 #4 0x00007f0b82d0b812 in xmlXPathEval () at /lib/x86_64-linux-gnu/libxml2.so.2 #5 0x00007f0b537ca5ca in XPath::CXPathAPI::eval(com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&, rtl::OUString const&) (this=0x7f0b3c033fb0, xContextNode=uno::Reference to (DOM::CElement *) 0x5654ab37ea08, expr="cbc:ID") at unoxml/source/xpath/xpathapi.cxx:333 #6 0x00007f0b537cb484 in non-virtual thunk to XPath::CXPathAPI::eval(com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&, rtl::OUString const&) () at /home/julien/lo/libreoffice/instdir/program/../program/libunoxmllo.so #7 0x00007f0b437c3601 in xforms::ComputedExpression::_evaluate(xforms::EvaluationContext const&, rtl::OUString const&) (this=0x5654ab77c948, rContext=..., sExpression="cbc:ID") at forms/source/xforms/computedexpression.cxx:105 #8 0x00007f0b43810983 in xforms::PathExpression::evaluate(xforms::EvaluationContext const&) (this=0x5654ab77c948, rContext=...) at forms/source/xforms/pathexpression.cxx:81 #9 0x00007f0b4379ab35 in xforms::Binding::bind(bool) (this=0x5654ab77c780, bForceRebind=true) at forms/source/xforms/binding.cxx:532 #10 0x00007f0b4379b96c in xforms::Binding::bindingModified() (this=0x5654ab77c780) at forms/source/xforms/binding.cxx:708 #11 0x00007f0b4379b909 in xforms::Binding::update() (this=0x5654ab77c780) at forms/source/xforms/binding.cxx:185 #12 0x00007f0b437e5a27 in xforms::Model::rebind() (this=0x5654aae0fa60) at forms/source/xforms/model.cxx:227 #13 0x00007f0b437e698b in xforms::Model::initialize() (this=0x5654aae0fa60) at forms/source/xforms/model.cxx:393 #14 0x00007f0b437e69eb in xforms::Model::rebuild() (this=0x5654aae0fa60) at forms/source/xforms/model.cxx:399 #15 0x00007f0b437e8129 in xforms::Model::update() (this=0x5654aae0fa60) at forms/source/xforms/model.cxx:574 #16 0x00007f0b7e5bb34a in XFormsModelContext::endFastElement(int) (this=0x5654ac4b9c20) at xmloff/source/xforms/XFormsModelContext.cxx:104 (gdb) p *error $4 = {domain = 12, code = 1219, message = 0x0, level = XML_ERR_ERROR, file = 0x0, line = 0, str1 = 0x5654aaf4f8f0 "cbc:ID", str2 = 0x0, str3 = 0x0, int1 = 6, int2 = 0, ctxt = 0x0, node = 0x0} Searching error code 1219 in libxml, I got: XML_XPATH_UNDEF_PREFIX_ERROR, /* 1219 */ https://github.com/tenderlove/libxml2/blob/master/include/libxml/xmlerror.h so "cbc" part is interpreted as a prefix and the prefix is unknown. -- You are receiving this mail because: You are the assignee for the bug.
