Hi Reini, On Tue, 14 May 2013 09:03:26 -0500 Reini Urban <re...@cpanel.net> wrote:
> On 05/14/2013 03:59 AM, Shlomi Fish wrote: > > Hi Chris, > > > > please investigate what is causing this test failure: > > > > http://www.cpantesters.org/cpan/report/6c328b4e-bc14-11e2-8c80-50d7c5c10595 > > I got the same errors on a plain debian system with libxslt 1.1.26 > > Running: libxslt 10126, libxml2 20800 > Compiled with EXSLT: yes I see - I can reproduce them now too in my Debian VM. > > What do you expect if you provide a xml with bad elements > in t/data/system-tests-1/input-xml/bad-elements.xml-grammar-vered.xml > OK, sorry for an unfortunate naming of this file. It is not that it contains bad *XML* elements (as in the opening and closing tags - <tag>...</tag>), it is just that it is the XML source of the Perl Bad elements page here: http://perl-begin.org/tutorials/bad-elements/ The file t/data/system-tests-1/input-xml/bad-elements.xml-grammar-vered.xml is a perfectly legal and valid XML according to XML well-formedness and the RNG schema. I'll rename it to avoid future confusion. > runtime error: file extradata/vered-xml-to-docbook.xslt element attribute > xsl:attribute: Cannot add attributes to an element if children have been > already added to the element. > at XML/LibXSLT.pm line 472. OK. Regards, Shlomi Fsih -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Why I Love Perl - http://shlom.in/joy-of-perl The first phrase that need to be taught when teaching a new language is how to say “Do you speak English?”. The first thing that needs to be taught when teaching a new computer tool is how to exit it. Please reply to list if it's a mailing list post - http://shlom.in/reply .