Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 103002
Status: resolved
Priority: 0/
Queue: XML-Hash-XS

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

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Convert line endings according to RFC
Is it possible to implement line endings conversion, as it described in RFC: http://www.w3.org/TR/xml11/#sec-line-ends Now parser just dies, if XML contains \x0D\x0A.
On Sun Mar 22 17:08:16 2015, ZDM wrote: Show quoted text
> Is it possible to implement line endings conversion, as it described in RFC: > > http://www.w3.org/TR/xml11/#sec-line-ends > > Now parser just dies, if XML contains \x0D\x0A.
Can you please provide code that causes script to die ? -- YOREEK
Subject: Re: [rt.cpan.org #103002] Convert line endings according to RFC
Date: Tue, 24 Mar 2015 13:39:25 +0200
To: bug-XML-Hash-XS [...] rt.cpan.org
From: "dzagashev [...] gmail.com" <dzagashev [...] gmail.com>
Try this my $xml = qq[<?xml version="1.0" encoding="utf-8"?>\x0D\x0A<aaaa content1="asd">\x0D\x0Aasdasdsa\x0D\x0A</aaaa>]; On 23.03.2015 20:09, Yuriy Ustushenko via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=103002 > > > On Sun Mar 22 17:08:16 2015, ZDM wrote:
>> Is it possible to implement line endings conversion, as it described in RFC: >> >> http://www.w3.org/TR/xml11/#sec-line-ends >> >> Now parser just dies, if XML contains \x0D\x0A.
> Can you please provide code that causes script to die ? >
Subject: Re: [rt.cpan.org #103002] Convert line endings according to RFC
Date: Wed, 25 Mar 2015 18:32:46 +0200
To: bug-XML-Hash-XS [...] rt.cpan.org
From: "dzagashev [...] gmail.com" <dzagashev [...] gmail.com>
Удалось повторить? On 24.03.2015 13:39, dzagashev@gmail.com via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=103002 > > > Try this > > my $xml = qq[<?xml version="1.0" encoding="utf-8"?>\x0D\x0A<aaaa > content1="asd">\x0D\x0Aasdasdsa\x0D\x0A</aaaa>]; > > On 23.03.2015 20:09, Yuriy Ustushenko via RT wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=103002 > >> >> On Sun Mar 22 17:08:16 2015, ZDM wrote:
>>> Is it possible to implement line endings conversion, as it described in RFC: >>> >>> http://www.w3.org/TR/xml11/#sec-line-ends >>> >>> Now parser just dies, if XML contains \x0D\x0A.
>> Can you please provide code that causes script to die ? >>
>
On Wed Mar 25 18:33:03 2015, dzagashev@gmail.com wrote: Show quoted text
> Удалось повторить? > > On 24.03.2015 13:39, dzagashev@gmail.com via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=103002 > > > > > Try this > > > > my $xml = qq[<?xml version="1.0" encoding="utf-8"?>\x0D\x0A<aaaa > > content1="asd">\x0D\x0Aasdasdsa\x0D\x0A</aaaa>]; > > > > On 23.03.2015 20:09, Yuriy Ustushenko via RT wrote:
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=103002 > > >> > >> On Sun Mar 22 17:08:16 2015, ZDM wrote:
> >>> Is it possible to implement line endings conversion, as it > >>> described in RFC: > >>> > >>> http://www.w3.org/TR/xml11/#sec-line-ends > >>> > >>> Now parser just dies, if XML contains \x0D\x0A.
> >> Can you please provide code that causes script to die ? > >>
> >
Yes, fixed in version 0.31. -- YOREEK