Dear BaseX team,

I'm using BaseX for my studies with Xavier-Laurent Salvador from Paris13.
I've got a puzzling issue with html:parse.
I'm  trying the request below using html:parse in order to get a list of the urls from a webpage  and I'm getting this message error: "Ligne 19: Invalid character found: '”' "

for $x in (html:parse(http:send-request(
    <http:request method='get'
    override-media-type='
application/octet-stream' href=
    'http://www.crealscience.fr/'/
>) 
 [2])//@href[matches(.,"http")])
return $x


The same request gives this kind of output errors with any url. Html:parse stops at any error in the page's HTML code. A header with "declare option output:method "text";" was added to the request but it didn't solve the problem.
If I insert the same request in a RestXQ file, it works perfectly.

Do you have any suggestions to solve that problem?

Best,
Sophie Petit
(basex 7.8 on debian)