Skip Menu |

This queue is for tickets about the XML-Writer CPAN distribution.

Report information
The Basics
Id: 44910
Status: rejected
Priority: 0/
Queue: XML-Writer

People
Owner: Nobody in particular
Requestors: lordnynex [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.606
Fixed in: (no value)



Subject: NEWLINES bug
NEWLINES => 1 in the new() constructor add \n before the XML tag is closed. Output looks mangled delphi Bloggers # ./xml_writer.pl <doc class="simple" Show quoted text
><title >Simple Doc</title ><section ><title no="1" type="intro" >Introduction</title ><para >a text with<bold >bold</bold > words.</para ></section ></doc >
The output does look a little odd, but it is as described in the documentation ("to guarantee that the document does not end up as a single, long line."). I'm not sure there's a bug here, but I'd be happy to accept any improvement to the documentation to clarify what this is for.