difference of type of $schema for different validation functions?
Sunday, 1 June 2025 · 2 messages · last reply 2 Jun 2025
MH
Martin Honnen1 Jun 2025 17:47 #
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?
CG
Christian 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? > >
Written for BaseX 11.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery