Segfault with parse-xml:parse() and file:read-text()
Bug #1089264 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Confirmed
|
High
|
Nicolae Brinza |
Bug Description
The query and input file are attached. Save them to the same directory and run repro.xq with Zorba.
The query is probably weird because the following:
return $foo/[@testCaseName eq "Catalog001"]
probably should not have the / in it to get the desired behaviour of selecting elements with the corresponding attributes. However, of course Zorba should not crash. And, in fact, the query should be valid; if you replace the file:read-text() call with the actual string content of failures.xml, then the query runs OK and produces the output "[ true ]", so the bug has something to do with parsing the result of file:read-text().
Changed in zorba: | |
milestone: | none → 2.8 |
status: | New → Confirmed |
assignee: | Matthias Brantner (matthias-brantner) → Nicolae Brinza (nbrinza) |
Changed in zorba: | |
milestone: | 2.8 → 2.9 |
tags: | added: store |
tags: | added: segfault |
tags: |
added: xml-parser removed: store |
Changed in zorba: | |
milestone: | 2.9 → 3.0 |
Changed in zorba: | |
milestone: | 3.0 → none |
To post a comment you must log in.
Matthias, any idea who best to assign this bug to?