Hi,
This is probably a non issue, but I thought I should report it anyway. I was playing around with serialization options today and I noticed that:
let $head := <head></head>
let $body := <body></body>
return serialize(($head, $body), map { "method": "html",
"version": "5.0"})
will return
<!DOCTYPE html>
<head></head>
<!DOCTYPE html>
<body></body>
I don't think fn:serialize() is defined in the xquery spec so it's implementation specific so I guess it also could be correct :)
Also I have a question, I remember in the past a discussion about need for extra testing (XQuery spec wise) in BaseX? Is this still an issue? Hopefully I can find some time and help out with that.
Regards,
George