Re: [basex-talk] json:doc-available()

2020-08-30 Thread Christian Grün
Hi Hans-Jürgen, > Perhaps you will also add the corresponding xxx:doc-available() functions? Yes, these might be interesting additions. Right now, the semantics of fn:doc currently differs from json:doc, csv:doc and html:doc: The first function is deterministic (i.e., repeated calls will only

Re: [basex-talk] superfluous shape="area' when using html:parse()

2020-08-30 Thread Liam R. E. Quin
On Sun, 2020-08-30 at 14:01 +0200, Jos van den Oever wrote: > Hi all, > > When loading a document with html:parse(), an extra attribute is > added to > every element. > >   becomes This usually comes from the HTML 4 or XHTML 1.x DTDs. It is actually not incorrect behaviour, although i never

[basex-talk] superfluous shape="area' when using html:parse()

2020-08-30 Thread Jos van den Oever
Hi all, When loading a document with html:parse(), an extra attribute is added to every element. becomes This error is even shown in the example on the wiki: https://docs.basex.org/wiki/HTML_Module It turns out this behaviour can be avoided by using the 'nodefaults" option of TagSoup: