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



MIME-Version: 1.0
Dkim-Filter: OpenDKIM Filter v2.10.3 mail.ecoscentric.com C170FA8B925
X-Spam-Status: No, score=-1.335 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Language: en-GB
content-type: text/plain; charset="utf-8"
Message-ID: <81db87e7-19d1-5319-e6b8-5ea708fd4bff [...] ecoscentric.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: amavisd-new at ecoscentric.com
X-Spam-Score: -1.335
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6433224031F for <cpan-bug+XML-Tidy [...] hipster.bestpractical.com>; Fri, 7 Jul 2017 08:22:33 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyYJoLgl7UHP for <cpan-bug+XML-Tidy [...] hipster.bestpractical.com>; Fri, 7 Jul 2017 08:22:32 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 5F01A24009B for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 08:22:32 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 3789B11D9D1 for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:22:31 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 6DD3B11EB01 for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:22:27 -0700 (PDT)
Received: from mail.ecoscentric.com (albus.ecoscentric.com [212.13.207.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id D35F311D9D1 for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:22:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 99009A8B86C for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 13:15:47 +0100 (BST)
Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (albus.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4bPp5S2_BjFo for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 13:15:38 +0100 (BST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] ecoscentric.com
Delivered-To: cpan-bug+XML-Tidy [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
Subject: standalone attribute dropped from dtd (Version 1.12)
Return-Path: <alexs [...] ecoscentric.com>
X-RT-Mail-Extension: xml-tidy
X-Original-To: cpan-bug+XML-Tidy [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ecoscentric.com; s=default; t=1499429738; bh=rg+v1H5z2Io3J+N61dSqwPEAy1ED/KMOwRIogzyzsC4=; h=From:Subject:Date:From; b=thmtvlSiczKNHfUbz3pADTCQ7o3dSAm+Y/CjFAkfG4Mq/59yOmC9K9zkng2GyD0fC 8/9Qp/wWE9xq9OQsb9iMUln9MRE6TmPEvdv6kmZTMl5B+iQQQv6AcoWUXVZIIx/27d 9BBiQe8FMCt6sFeq3uEK8Rz0T6nrytgmQf10NRXQ=
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_NO_HTTP 0.1, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_400_499 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DKIM_SIGNATURE 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __SANE_MSGID 0, __SUBJ_ALPHA_START 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
Date: Fri, 7 Jul 2017 13:15:38 +0100
X-Spam-Level:
X-Greylist: delayed 379 seconds by postgrey-1.34 at xx1.develooper.com; Fri, 07 Jul 2017 05:22:26 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.7.7.121216
To: bug-XML-Tidy [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Alex Schuilenburg <alexs [...] ecoscentric.com>
X-RT-Original-Encoding: utf-8
X-RT-Interface: Email
Content-Length: 381
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
Dkim-Filter: OpenDKIM Filter v2.10.3 mail.ecoscentric.com A5F25A8B8D3
MIME-Version: 1.0
X-Spam-Status: No, score=-3.335 tagged_above=-99.9 required=10 tests=[AWL=2.000, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_OUR_RT=-4, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-31792-1499430154-768.122389-3-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-122389 [...] rt.cpan.org> <81db87e7-19d1-5319-e6b8-5ea708fd4bff [...] ecoscentric.com> <rt-4.0.18-31792-1499430154-768.122389-3-0 [...] rt.cpan.org>
Content-Language: en-GB
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: amavisd-new at ecoscentric.com
Message-ID: <ecbf6b7f-63e8-450a-22e6-58e15e45dd54 [...] ecoscentric.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.335
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] ecoscentric.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D562924031F for <cpan-bug+XML-Tidy [...] hipster.bestpractical.com>; Fri, 7 Jul 2017 08:46:54 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wkiy6RYw5S2q for <cpan-bug+XML-Tidy [...] hipster.bestpractical.com>; Fri, 7 Jul 2017 08:46:53 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id B5B2F24009B for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 08:46:53 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id EAC5911E23B for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:46:52 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id DFB3211EE48 for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:46:50 -0700 (PDT)
Received: from mail.ecoscentric.com (albus.ecoscentric.com [212.13.207.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 1FA0211E23B for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 05:46:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 9DB7FA8B968 for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 13:46:42 +0100 (BST)
Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (albus.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8MuyjYlTyZgi for <bug-XML-Tidy [...] rt.cpan.org>; Fri, 7 Jul 2017 13:46:36 +0100 (BST)
Delivered-To: cpan-bug+XML-Tidy [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #122389] AutoReply: standalone attribute dropped from dtd (Version 1.12)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
Return-Path: <alexs [...] ecoscentric.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ecoscentric.com; s=default; t=1499431596; bh=+KXf/o0y7RusFI01G2SSxyMi5PO4G4Q5OrLyouVqYtI=; h=To:References:From:Date:In-Reply-To:From; b=C48QY1D7HjGPUryFrKErhQBwZo+dYF4O251INxPv34x6LRyWGsUvnukqSuo/NVglI jNwkjdIyLq7gaclxxm1x4bzeeq4eTbDxXRq23WIRB+XHOZB9fUZXXZwLH54pPxxkNw zxi2O3JVRGq+brukmanIaoYT0I7HV5N5ainFE6lY=
X-Original-To: cpan-bug+XML-Tidy [...] hipster.bestpractical.com
X-RT-Mail-Extension: xml-tidy
Date: Fri, 7 Jul 2017 13:46:36 +0100
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_NO_HTTP 0.1, BODYTEXTP_SIZE_3000_LESS 0, BODYTEXTP_SIZE_400_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_200_299 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BOUNCE_AUTORESP 0, BOUNCE_GENERIC 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_URI_HTTPS 0, REFERENCES 0, SMALL_BODY 0, SPF_PASS 0, __ANY_URI 0, __BOUNCE_AUTORESP_SUBJ 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.7.7.123915
To: bug-XML-Tidy [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Alex Schuilenburg <alexs [...] ecoscentric.com>
RT-Message-ID: <rt-4.0.18-21276-1499431615-30.122389-0-0 [...] rt.cpan.org>
Content-Length: 276
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.