Hi,
when doing:
html:parse(fetch:binary("https://ant.apache.org/manual/Tasks/chmod.html"), map{"method":"xml"})
and also
html:parse(fetch:binary("https://ant.apache.org/manual/Tasks/chmod.html"), map{"method":"html"})
or
html:doc("https://ant.apache.org/manual/Tasks/chmod.html")
I get
[html:parse] Line 23: </head> found, </link> expected.
I use the BaseX version from 14 minutes ago ;-) (BaseX944-20200914.223814).
Hi Andreas,
I get…
<html lang="en"> <head> <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> <title>Chmod Task</title> </head> <body> <h2 id="chmod">Chmod</h2> <h3>Description</h3>
Are you sure that TagSoup is included in your classpath?
Cheers Christian
On Mon, Sep 14, 2020 at 11:00 PM Andreas Mixich mixich.andreas@gmail.com wrote:
Hi,
when doing:
html:parse(fetch:binary("https://ant.apache.org/manual/Tasks/chmod.html"), map{"method":"xml"})
and also
html:parse(fetch:binary("https://ant.apache.org/manual/Tasks/chmod.html"), map{"method":"html"})
or
html:doc("https://ant.apache.org/manual/Tasks/chmod.html")
I get
[html:parse] Line 23: </head> found, </link> expected.
I use the BaseX version from 14 minutes ago ;-) (BaseX944-20200914.223814).
-- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich
Am 14.09.2020 um 23:04 schrieb Christian Grün:
Hi Andreas,
Are you sure that TagSoup is included in your classpath?
Hmmm... I was. But now, that you say it..., yes, you are right!
When I start via 'BaseX.exe' all is fine.
When I start via my own script, it fails (though, from first testing the string concatenation I use, builds the classpath just fine). I am currently debugging my script, but its definitely on my side. Sorry for the hassle.
I just checked my script and could not find any issue with it.
I do not even remember, why I did not just run 'BaseX.exe' all the time, since this is what I do now. Problem solved. Thanks.
Am 15.09.2020 um 00:24 schrieb Andreas Mixich:
I just checked my script and could not find any issue with it.
I do not even remember, why I did not just run 'BaseX.exe' all the time, since this is what I do now. Problem solved. Thanks.
The journey goes on... and now I remember why did the script! :-)
When I use BaseX.exe, it seems, that my %CLASSPATH% does not get added, since 'xslt:processor()' results in `Java', but when I start via *basexgui.bat* I get `Saxon`.
Also, BaseXGUI.exe starts with other files opened in the editor.
The reason I did my own script (Message-ID: dc805a94-85f0-9284-5568-e02d39639bbd@gmail.com) was to suppress the opening window. Back to debugging my script.
basex-talk@mailman.uni-konstanz.de