Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the RDF-Trine CPAN distribution.

Report information
The Basics
Id: 73574
Status: resolved
Priority: 0/
Queue: RDF-Trine

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

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



Subject: The rare SAX parser issue
I don't know if you have gotten anywhere with the latest test failures of Trine. I figured I'd submit it to this tracker, since it is a test failure. I've seen it before, and this is where I stopped the last time I looked: This error message "Nonblocking reads only make sense if you're giving me file handles, y'know (well, actually sockets). Use parse_file at /home/trushel/cpan/build/5.15.3-m/RDF-Trine-0.137-TcXpYH/blib/lib/RDF/Trine/Parser/RDFXML.pm line 159" is emitted by XML::SAX::ExpatNB: In the parser code, this is where it happens: if (ref($string)) { $self->{parser}->parse_file( $string ); } else { $self->{parser}->parse_string( $string ); } It is the parse_string line where it happens. So, it seems like in rare cases, it chooses a parser which then passes parse_string to the internal XML::SAX::ExpatNB parse, which expects a filehandle not a string, and then croaks... Seems like a complicated mess of parsers here. I don't know if you had already figured this out yourself, if not I hope it helped a bit... Cheers, Kjetil
I've discussed this with the tester, and it appears to have been an odd combination of old modules, so we can close it.