Skip Menu |
 

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

Report information
The Basics
Id: 122389
Status: resolved
Priority: 0/
Queue: XML-Tidy

People
Owner: Pip [...] CPAN.Org
Requestors: alexs [...] ecoscentric.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.0.4C8K1Ah
  • 1.0.4C9JpoP
  • 1.0.4CAJna1
  • 1.10.B52FpLx
  • 1.12.B55J2qn
  • 1.14
  • 1.16
  • 1.2.4CCJW4G
  • 1.2.51HM2ae
  • 1.2.54HJnFa
  • 1.4.A7QCvHw
  • 1.6.A7RJKwl
  • 1.8.B2AMvdl
Fixed in: 1.18



Subject: standalone attribute dropped from dtd (Version 1.12)
Date: Fri, 7 Jul 2017 13:15:38 +0100
To: bug-XML-Tidy [...] rt.cpan.org
From: Alex Schuilenburg <alexs [...] ecoscentric.com>
Download (untitled) / with headers
text/plain 381b
The standalone attribute is dropped from any dtd. For example, if I have a test file toc.xml: <?xml version="1.0" encoding="utf-8"? standalone="yes"> <toc><topic /></toc> The code #!/usr/bin/perl use XML::Tidy; my $tidy = XML::Tidy->new(filename => 'toc.xml'); $tidy->tidy(); $tidy->write(); produces <?xml version="1.0" encoding="utf-8"?> <toc> <topic /> </toc> -- Alex
Subject: Re: [rt.cpan.org #122389] AutoReply: standalone attribute dropped from dtd (Version 1.12)
Date: Fri, 7 Jul 2017 13:46:36 +0100
To: bug-XML-Tidy [...] rt.cpan.org
From: Alex Schuilenburg <alexs [...] ecoscentric.com>
Download (untitled) / with headers
text/plain 276b
Sorry, a typo in the test file in my email. The test file actually is: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <toc><topic /></toc> which is valid and correct. Discovered this in my scripts assembling an Eclipse toc pulled in from multiple docs. -- Alex


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.