…thanks, Martin. All functions accept a schema of type item()?. The documentation has been fixed.
 

On Sun, Jun 1, 2025 at 5:48 PM Martin Honnen via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> wrote:

Why is the function
https://docs.basex.org/main/Validation_Functions#validate:xsd documented
as taking the schema as item()? while the function
https://docs.basex.org/main/Validation_Functions#validate:xsd-report
documents the schema as xs:string? ?

Is that a documentation error or quirk or are these two functions taking
different types of arguments for the schema?