Public bug reported:

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().

** Affects: zorba
     Importance: Undecided
     Assignee: Cezar Andrei (cezar-andrei)
         Status: New


** Tags: itemfactory

-- 
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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to