Re: Whose error is it anyway
Ihe Onwuka <[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CALfs7+yoxB-TcFTz_HzQQXcrwh0j0kwB=5Qa9THFZ03fEQbxMQ@mail.gmail.com> |
My educated guess to recreate is where the context element is empty. On Thu, Aug 13, 2020 at 8:52 AM Ihe Onwuka <[email protected]> wrote: > This is not my code. > > Warning at char 1 in xsl:template/@match on line 62 column 72 of > ******.xsl: > XPTY0004 An error occurred matching pattern > {element()[Q{ > http://www.w3.org/2005/xpath-functions/map}contains($actions, > exactly-one(first(tokenize(convertUntyped(data(.)), "\s", ""))))]}: > > My code was > > > <xsl:template match="*[map:contains($actions,tokenize(.,'\s')[1])]"> > _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help