← Back to team overview

zorba-coders team mailing list archive

[Bug 933490] Re: Error ItemFactoryImpl::createBase64Binary with istream

 

** Patch added: "createbase64.patch"
   https://bugs.launchpad.net/bugs/933490/+attachment/2745329/+files/createbase64.patch

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/933490

Title:
  Error ItemFactoryImpl::createBase64Binary with istream

Status in Zorba - The XQuery Processor:
  New

Bug description:
  creating a base64Binary from an ifstream results in the following
  error caused by the eof bit:

       type error: "#xFF": invalid value for cast/constructor: invalid
  Base64 character

  the attached patch fixes the problem by adding an additional check for
  the eof_bit using good().

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/933490/+subscriptions


References