xsl-list
[Top] [All Lists]

Re: [xsl] How do I tell SAXON to not validate the value of xsi:type?

2018-04-19 08:57:15

Looking at the history of https://saxonica.plan.io/issues/3062 it seems I first 
produced an incorrect patch, which looks like it would have this effect (see 
comment #7), and then corrected it with a subsequent patch; the history 
suggests that the updated patch has been released on the 9.8 branch but not on 
9.7.

So please check which maintenance release you are using. You can find out by 
running anything with the -t option on the command line.


Michael Kay
Saxonica

On 19 Apr 2018, at 13:59, Costello, Roger L. costello(_at_)mitre(_dot_)org 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Hi Folks,

I am running saxon9he from a command line.

I have a simple XSLT program that goes into a large XML document and copies 
one element and outputs it.

When I run the XSLT, I get this error message:

Error in xsl:copy-of/@select on line 13 column 61 of test.xsl:
 XTTE1510: Unknown xsi:type in element being validated: Vor
 in built-in template rule for /Test in the unnamed mode
Unknown xsi:type in element being validated: Vor

I think that error message is saying that SAXON found this element:

<foo xsi:type="Vor">

and cannot validate the Vor type. Is that what the error message is saying?

I am not doing schema-aware XSLT, so I don't understand why SAXON would be 
trying to validate Vor. 

How do I tell SAXON: don't try to validate the value of xsi:type?

/Roger

--~----------------------------------------------------------------
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>