parse-xml-fragment error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Nicolae Brinza |
Bug Description
parse-xml-fragment error message could be improved:
declare namespace err = "http://
declare namespace zerr = "http://
let $src := '<Book ISBN="ISBN-
<Title>A First Course in Database Systems</Title>
<Authors>
<Author>
<
<
return
try {
} catch * {
{
"error": true,
"code": $err:code,
"module": $err:module,
}
}
Returns
{ "error" : true, "code" : "err:FODC0006", "description" : "invalid content passed to fn:parse-
The error message is not very explicit. For the same input, parse-xml() returns the appropriate/
Changed in zorba: | |
assignee: | nobody → Paul J. Lucas (paul-lucas) |
Changed in zorba: | |
assignee: | Paul J. Lucas (paul-lucas) → Nicolae Brinza (nbrinza) |
importance: | Undecided → Medium |
tags: | added: xml-parser |
tags: | added: error-reporting |