Project

Profile

Help

Bug #2881

closed

Required item type of first argument of collection() is node(); supplied value has item type xs:base64Binary - no file extension

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

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
-
Start date:
2016-08-16
Due date:
% Done:

100%

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

Description

Reported here: https://saxonica.plan.io/issues/2749#note-8:

(a) What about files having no file extension?

(b) The diagnostics have not been improved: we still get

XPTY0004: Required item type of result of call to collection is node(); supplied value has
     item type xs:base64Binary

Related issues

Related to Saxon - Bug #2749: Type error XPTY0004: Required item type of first argument of collection() is node(); supplied value has item type xs:base64BinaryClosedO'Neil Delpratt2016-05-17

Actions
Actions #1

Updated by O'Neil Delpratt over 7 years ago

  • Related to Bug #2749: Type error XPTY0004: Required item type of first argument of collection() is node(); supplied value has item type xs:base64Binary added
Actions #2

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from In Progress to Resolved
  • Fix Committed on Branch 9.7, 9.8 added

The problem seems to be the connection.getContenType returns as the prefix of the content-type the encoding information. We have added code to handle this and to locate each part.

Actions #3

Updated by O'Neil Delpratt over 7 years ago

Bug fix applied in the Saxon 9.7.0.8 maintenance release.

Actions #4

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from Resolved to Closed
  • Fixed in Maintenance Release 9.7.0.8 added
Actions #5

Updated by O'Neil Delpratt almost 7 years ago

  • Applies to branch trunk added
  • Applies to branch deleted (9.8)
Actions #6

Updated by O'Neil Delpratt almost 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF