Hi,

I’m linking against a 2.9.4 version of libxml2. I use:

`xmlXPathCompExprPtr comp = xmlXPathCompile(BAD_CAST str)`

in order to get the compiled xpath comp. However, if the xpath is too ‘simple’ 
(for e.g. /a/b/c), i.e. it does not contain any verbose axis specifiers “::” or 
predicates etc, then the xpath is automatically compiled to a streaming xpath 
and the last member of the comp struct is set to be -1.

Is there any way of disabling this streaming optimization while calling the 
compilation function?

Thanks,
Shivan

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to