libxml-raku / LibXML-raku

Raku bindings to the libxml2 native library
Artistic License 2.0
11 stars 5 forks source link

Tests noisy #19

Closed dwarring closed 5 years ago

dwarring commented 5 years ago
$ prove -e'perl6 -I .' t >/dev/null
# Running libxml2 version: 2.09.04
Use of Nil in string context
  in block  at t/05text.t line 97
Use of Nil in string context
  in block  at t/05text.t line 231
# # 1 parse schema from a file
# 
xmlXPathCompiledEval: evaluation failed
xmlXPathCompiledEval: evaluation failed
xmlXPathCompiledEval: evaluation failed
xmlXPathCompiledEval: evaluation failed
xmlXPathCompiledEval: evaluation failed
xmlXPathCompiledEval: evaluation failed
xmlXPathCompOpEval: function dummy not found
xmlXPathCompiledEval: evaluation failed
xmlXPathCompOpEval: function dummy2 not found
xmlXPathCompiledEval: evaluation failed
xmlXPathCompOpEval: function copy not found
xmlXPathCompiledEval: evaluation failed
I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
regexp error : failed to compile: xmlFAParseAtom: expecting ')'
dwarring commented 5 years ago

The 'I/O errors' were the symptom of a real problem. :!validation, :!load-ext-dtd reader flags weren't being correctly handled.