Skip Menu |

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

Report information
The Basics
Id: 50245
Status: rejected
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: ynnor [...] mm.st
Cc:
AdminCc:

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



Subject: SAX bails out on XML comment!
When parsing the attached XML file, I get the error Comment not terminated <!-- command exec="#simpost" check_status="1"> at C:\ccviews\fischron_090929.sv\opticm_dev\ARTS\App\..\..\ARTS\Libs\activestate\lib/XML/LibXML/SAX.pm line 64 After removing the comment line, no error anymore.
Subject: test_retry_compound.xml
<?xml version = "1.0" encoding="UTF-8"?> <testrequest version="1.0"> <testparams> <testid>Maronisuppn</testid> <testname>DerMaronibrater</testname> <submitter> <name>Ronald O.V. Fischer</name> <handle>fischron</handle> <email>fischerr.external@infineon.com</email> </submitter> <comment>Testing Compound Retry Feature</comment> <artshandle>fischron</artshandle> <allowedsite>MUC</allowedsite> </testparams> <tests> <test subreq="first"> <mock><view>!no</view></mock> <qualitygates> <step type="Carpaccio"> <compounds> <compound type="Basic" relpath="." id="Noamol"> <comment>MirProbiernsImmaWieda</comment> <runtime type="LsfUnix"/> <commands> <command exec="banner">wir scheitern mit freude</command> <command exec="ls" check_status="0">-ld attempt*</command> <!-- command exec="#simpost" check_status="1">--genretryec</command --> </commands> </compound> </compounds> </step> </qualitygates> </test> </tests> </testrequest>
Dne út 06.říj.2009 06:56:46, rovf napsal(a): Show quoted text
> When parsing the attached XML file, I get the error > > Comment not terminated > <!-- command exec="#simpost" check_status="1"> at >
C:\ccviews\fischron_090929.sv\opticm_dev\ARTS\App\..\..\ARTS\Libs\activestate\lib/XML/LibXML/SAX.pm Show quoted text
> line 64 > > After removing the comment line, no error anymore. >
This is correct behavior, two or more subsequent dashes (--) are not allowed in XML comments: 2.5 Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->' -- Petr
Subject: Re: [rt.cpan.org #50245] SAX bails out on XML comment!
Date: Wed, 07 Oct 2009 10:47:45 +0200
To: "Petr Pajas via RT" <bug-XML-LibXML [...] rt.cpan.org>
From: "Ronald Fischer" <ynnor [...] mm.st>
Show quoted text
> This is correct behavior, two or more subsequent dashes (--) are not > allowed in XML comments: > > 2.5 Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'
Thank you for explaining! Oh, these hidden secrets of XML.... Ronald -- Ronald Fischer <ronaldf@eml.cc> + If a packet hits a pocket on a socket on a port, + and the bus is interrupted and the interrupt's not caught, + then the socket packet pocket has an error to report. + (cited after Peter van der Linden)
closing.