bugSimple C Expat Wrapper - Bugs: bug #28125, printer stops printing when...

 
 

bug #28125: printer stops printing when element with zero-length contents is encountered.

Submitted by:  None
Submitted on:  Mon 30 Nov 2009 12:07:25 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aleix Conchillo FlaquĆ© <aleix>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 30 Nov 2009 02:07:59 PM UTC, comment #1:

Fixed in changeset 318.

http://hg.savannah.gnu.org/hgweb/scew/rev/ba4b8d379285

Thanks!

Aleix Conchillo FlaquƩ <aleix>
Project AdministratorIn charge of this item.
Mon 30 Nov 2009 12:07:25 AM UTC, original submission:

Setting element contents to "" causes printer to abort because of the check in scew_printer_print_element:

result = result && scew_writer_write (printer->writer,
contents,
scew_strlen (contents));

scew_writer_write returns 0 as number of written bytes in this case.

Michal Wozniak

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by aleix (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 Nov 2009 08:16:07 PM UTCaleixOpen/ClosedOpen=>Closed
    Mon 30 Nov 2009 02:07:59 PM UTCaleixStatusConfirmed=>Fixed
    Mon 30 Nov 2009 01:46:18 PM UTCaleixAssigned toNone=>aleix
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1