Hello --
Using BaseX 10.6, the test query
let $test as xs:string := "And O Lord the pride of man, broken in the dust
again"
let $syntax1 as xs:string :=
analyze-string($test,'\p{Lu}')/(fn:match/concat('[',.,']'),fn:non-match/string())
=> string-join('')
let $syntax2 as xs:string :=
This XQuery demonstrates the problem:
(::)
let $xmlBaseAtt as attribute() := attribute {'xml:base'}{'/foo/bar.xml'}
let $transformed1 as element() :=
try {
$doc1 transform with { insert node $xmlBaseAtt into .}
} catch * {
}
let $transformed2 as element() :=
try {
$doc2 transform
Thanks, Andy, much appreciated. I’ve added a BaseX 10 Whitespaces
reference to the STRIPWS paragraph [1].
[1] https://docs.basex.org/wiki/Options#STRIPWS
On Wed, Jul 5, 2023 at 6:12 PM Andy Bunce wrote:
>
> Perhaps this addition would be more findable if moved to the STRIPWS
> description?
>
Maybe we still need to find better terms than »database node« and
»fragments« to describe the data structures that we use for XML
structures (as described in [1]), as the current situation is even
more complex:
1. we have fragments (e.g. as the result of )
2. we have volatile main-memory database
Hi Tamara,
Thanks for introducing error handling in the PHP client in your pull
request. I took this as an opportunity to revise some more lines of
code.
The updated client raises an exception whenever something unexpected
happens in any of the socket function calls, and it returns the error
5 matches
Mail list logo