Bug 19018

Summary: Can we make XSLT_Handler a little bit less verbose ?
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 17807    
Bug Blocks:    

Description Marcel de Rooy 2017-08-01 13:37:29 UTC
As reported on bug 17807, XSLT_Handler reports that a XSLT file is not found for each record it wants to process (running oai.pl).

Additionally, we also have:
Can't locate object method "nodeType" via package "<?xml version="1.0" encoding="UTF-8"?>
[ And a complete MARC record dump. ]
" (perhaps you forgot to load "<?xml version="1.0" encoding="UTF-8"?>
[ Same MARC record dump again ]
"?) at /usr/share/perl5/HTTP/OAI/Encapsulation.pm line 68.
Comment 1 Marcel de Rooy 2018-02-22 13:49:22 UTC
(In reply to Marcel de Rooy from comment #0)
> As reported on bug 17807, XSLT_Handler reports that a XSLT file is not found
> for each record it wants to process (running oai.pl).
> 
> Additionally, we also have:
> Can't locate object method "nodeType" via package "<?xml version="1.0"
> encoding="UTF-8"?>
> [ And a complete MARC record dump. ]
> " (perhaps you forgot to load "<?xml version="1.0" encoding="UTF-8"?>
> [ Same MARC record dump again ]
> "?) at /usr/share/perl5/HTTP/OAI/Encapsulation.pm line 68.

Will make XSLT_Handler print less warnings on report 20272.
If anyone else want to address the OAI warn, please reopen/rename this one.

*** This bug has been marked as a duplicate of bug 20272 ***