Skip Menu |
 

This queue is for tickets about the OpenOffice-OODoc CPAN distribution.

Report information
The Basics
Id: 57888
Status: resolved
Priority: 0/
Queue: OpenOffice-OODoc

People
Owner: Nobody in particular
Requestors: jnh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 2.125



Subject: imported XML containing newlines is not parsed?/written out correctly
Download (untitled) / with headers
text/plain 681b
This works: $content->appendElement( '//draw:page', 0, q(<chart:chart svg:width="5cm" svg:height="5cm" chart:class="bar"><chart:title><text:p>A NEW Title</text:p></chart:title></chart:chart>), ); But this doesn't: $content->appendElement( $page, q(<chart:chart svg:width="5cm" svg:height="5cm" chart:class="bar"> <chart:title> <text:p>A Title</text:p> </chart:title> </chart:chart>), ); The content.xml file winds up with this (note the gratuitous starting/ending < and />). <<chart:chart svg:width="5cm" svg:height="5cm" chart:class="bar"> <chart:title> <text:p>A Title</text:p> </chart:title> </chart:chart>/>
Download (untitled) / with headers
text/plain 830b
The issue is located. Will be fixed in 2.125 Le Mer 26 Mai 2010 21:00:11, JNH a écrit : Show quoted text
> This works: > > $content->appendElement( > '//draw:page', 0, > q(<chart:chart svg:width="5cm" svg:height="5cm" > chart:class="bar"><chart:title><text:p>A NEW > Title</text:p></chart:title></chart:chart>), > ); > > But this doesn't: > > $content->appendElement( > $page, > q(<chart:chart svg:width="5cm" svg:height="5cm" chart:class="bar"> > <chart:title> > <text:p>A Title</text:p> > </chart:title> > </chart:chart>), > ); > > The content.xml file winds up with this (note the gratuitous > starting/ending < and />). > > <<chart:chart svg:width="5cm" svg:height="5cm" chart:class="bar"> > <chart:title> > <text:p>A Title</text:p> > </chart:title> > </chart:chart>/>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.