Project

Profile

Help

Bug #5677

closed

Required cardinality of first argument of t:commonType() is one or more; supplied value is empty

Added by Martynas Jusevicius 24 days ago. Updated 1 day ago.

Status:
Resolved
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
2022-09-06
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
2, Trunk
Fix Committed on JS Branch:
2, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

It does not seem to be possible to declare an inline sequence of xs:anyURI (maybe also other types, haven't tried). The following throws the error:

<xsl:variable name="icons" select="(xs:anyURI('https://maps.google.com/mapfiles/ms/icons/blue-dot.png'), xs:anyURI('https://maps.google.com/mapfiles/ms/icons/red-dot.png'))" as="xs:anyURI*"/>
Actions #1

Updated by Norm Tovey-Walsh 3 days ago

  • Assignee set to Norm Tovey-Walsh
  • Sprint/Milestone set to SaxonJS 2.5
Actions #2

Updated by Norm Tovey-Walsh 1 day ago

  • Status changed from New to Resolved
  • Fixed in JS Release set to SaxonJS 2.5
  • Applies to JS Branch Trunk added
  • Fix Committed on JS Branch 2, Trunk added

The XX compiler wasn't handling sequences of "uncommon" atomic types.

Please register to edit this issue

Also available in: Atom PDF Tracking page