xsl-list
[Top] [All Lists]

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

2019-02-27 04:52:11
On Wed, Feb 27, 2019 at 2:01 PM Michael Kay mike(_at_)saxonica(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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(_at_)acm(_dot_)org
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>