Re: [xsl] XSLT 3.0 schema awareness vs non schema awareness

Subject: Re: [xsl] XSLT 3.0 schema awareness vs non schema awareness
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Feb 2019 10:52:05 -0000
On Wed, Feb 27, 2019 at 2:01 PM Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Firstly, you need to be aware that just having a schema around doesn't
> itself cause the input to be validated. A stylesheet can have multiple
> inputs (including temporary tree variables) and the inputs are only
> validated if you ask for this. I only mention this because you didn't...
>

For my findings mentioned in my previous mail, I had asked Saxon to do
explicit validation of my input XML, by providing an option -val:strict on
the command line (for my schema aware example).

<xsl:mode typed="true"/>
>

Thanks for mentioning this XSLT instruction, which is newly introduced in
XSLT 3.0. It seems useful, and I need to learn about it.

Thanks also for the other points mentioned in your email.




-- 
Regards,
Mukul Gandhi

alt address : mukulgandhi@xxxxxxx

Current Thread