Project

Profile

Help

Bug #2749

closed

Type error XPTY0004: Required item type of first argument of collection() is node(); supplied value has item type xs:base64Binary

Added by O'Neil Delpratt almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2016-05-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

Reported by user:

I presumed no config was necessary, because per http://www.saxonica.com/documentation/index.html#!sourcedocs/collections "the URIs listed in the doc elements are treated like URIs passed to the doc() function" and in the test XSL, doc-available() succeeds with the same url immediately before collection().

Anyway, I tried -config of the mappings from "rdf" to "text/xml". The same error. The test files are attached.

P:\test>java -classpath saxon9ee.jar net.sf.saxon.Transform -config:config.xml -it:main -t -xsl:test.xsl

Saxon-EE 9.7.0.5J from Saxonica

Java version 1.8.0_91

...
	Type error
	  XPTY0004: Required item type of first argument of collection() is node(); supplied value
	  has item type xs:base64Binary
	Required item type of first argument of collection() is node(); supplied value has item type xs:base64Binary

Related issues

Related to Saxon - Bug #2881: Required item type of first argument of collection() is node(); supplied value has item type xs:base64Binary - no file extensionClosedO'Neil Delpratt2016-08-16

Actions

Please register to edit this issue

Also available in: Atom PDF