difference of type of $schema for different validation functions?
CGChristian Grün2 Jun 2025 11:02 # …thanks, Martin. All functions accept a schema of type item()?. The documentation has been fixed.
Quoted text · Martin Honnen · 13 lines
On Sun, Jun 1, 2025 at 5:48 PM Martin Honnen via BaseX-Talk <
basex-talk at 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?
>
>
⚡Generated with XQuery