Phylr Testing Report (Week1)

| Saturday, May 30, 2009

Today, I deployed the phylr following the README, and tested it with the OCLC SRU Service Test service.

Here are the results (
1 warnings given,
84 tests given,
6 tests failed):

The first two errors are not really errors. The XSLT in the response is not using full URL, but a relative path, and the OCLC service tester can't process it. A browser can correctly process the XSLT, however.

The last few errors are concerning SRU diagnostics, here is the page that contains list of all SRU diagnostics:
http://www.loc.gov/standards/sru/resources/diagnostics-list.html


running SRU tests for baseURL: http://jinan.ads.iu.edu:8080/SRW/search/treebase
tests of Explain

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase
reading stylesheet: /SRW/explainResponse.xsl
from source: http://jinan.ads.iu.edu:8080/SRW/search/treebase
unable to load stylesheet: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File "file:///SRW/explainResponse.xsl" not found.
successfully parsed Explain record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?operation=explain

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?operation=explain&version=1.1

trying: http://localhost:8080/SRW/search/treebase?
** Warning: Content-Type not set to text/xml or application/xml
Content-type: null
test failed: opening URL: Connection refused
** Error: the URL created by combining your host, port and database name
** resulted in a bad URL
** Comparing the URL I was given to your Explain record:
** original host: jinan.ads.iu.edu, Explain host: localhost
** original port: 8080, Explain port: 8080
** original database: /SRW/search/treebase, Explain database: SRW/search/treebase
tests of Scan

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.authors+=+dog&operation=scan&responsePosition=3&maximumTerms=5
reading stylesheet: /SRW/scanResponse.xsl
from source: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.authors+=+dog&operation=scan&responsePosition=3&maximumTerms=5
unable to load stylesheet: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File "file:///SRW/scanResponse.xsl" not found.
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.authors+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.identifier+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.identifier+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.datatype+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.datatype+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=cql.serverChoice+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=cql.serverChoice+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.abstract+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.abstract+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.otus+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.otus+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.datatype+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.datatype+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.subject+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.subject+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.hasbranchlengths+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.hasbranchlengths+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.scientificName+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.scientificName+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.keywords+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.keywords+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.creator+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.creator+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.treesize+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.treesize+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.description+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=dc.description+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.treeid+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=local.treeid+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.treesize+=+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&scanClause=phylo.treesize+exact+dog&operation=scan&responsePosition=3&maximumTerms=5
successfully parsed Scan record
Diagnostic: info:srw/diagnostic/1/120, details=3

tests of searchRetrieve

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.authors+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
reading stylesheet: /SRW/searchRetrieveResponse.xsl
from source: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.authors+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
unable to load stylesheet: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File "file:///SRW/searchRetrieveResponse.xsl" not found.
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.authors++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.identifier+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.identifier++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.datatype+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.datatype++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=cql.serverChoice+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=cql.serverChoice++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.abstract+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.abstract++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.otus+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.otus++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.datatype+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.datatype++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.subject+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.subject++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.hasbranchlengths+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.hasbranchlengths++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.scientificName+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.scientificName++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.keywords+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.keywords++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.creator+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.creator++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.treesize+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.treesize++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.description+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=dc.description++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.treeid+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=local.treeid++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.treesize+=+%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&query=phylo.treesize++exact++%22dog%22&operation=searchRetrieve&maximumRecords=1
successfully parsed searchRetrieve record

tests to generate diagnostics

trying for info:srw/diagnostic/1/5 (unsupported version)
sending version=9.9
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=9.9&query=phylo.treesize+=+%22dog%22&operation=searchRetrieve&maximumRecords=1&startRecord=1
successfully parsed searchRetrieve record
** Error: expected diagnostic info:srw/diagnostic/1/5
trying for info:srw/diagnostic/1/6 (unsupported parameter value)
sending a bad maximumRecords value
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve&query=phylo.treesize+=+%22dog%22&maximumRecords=a&startRecord=1
successfully parsed searchRetrieve record
info:srw/diagnostic/1/6

trying for info:srw/diagnostic/1/7 (Mandatory parameter not supplied)
omitted the query parameter on the search
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve
successfully parsed searchRetrieve record
info:srw/diagnostic/1/7

trying for info:srw/diagnostic/1/8 (Unsupported parameter)
sending the parameter diagnosticTest=true
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve&query=phylo.treesize+=+%22dog%22&diagnosticTest=true
successfully parsed searchRetrieve record
** Error: expected diagnostic info:srw/diagnostic/1/8
trying for info:srw/diagnostic/1/10 (Query syntax error)
sending &query=%22dog%22+=
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve&query=%22dog%22+=
successfully parsed searchRetrieve record
info:srw/diagnostic/1/1
** Error: expected diagnostic info:srw/diagnostic/1/10 but got info:srw/diagnostic/1/1
trying for info:srw/diagnostic/1/16 (Unsupported index)
sending &query=badIndex=%22doh%22
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve&query=badIndex=%22doh%22
successfully parsed searchRetrieve record
** Error: expected diagnostic info:srw/diagnostic/1/16
trying for info:srw/diagnostic/1/61 (First record position out of range)
sending startRecord=9999999
trying: http://jinan.ads.iu.edu:8080/SRW/search/treebase?version=1.1&operation=searchRetrieve&query=phylo.treesize+=+%22dog%22&maximumRecords=1&startRecord=9999999
successfully parsed searchRetrieve record
** Error: expected diagnostic info:srw/diagnostic/1/61
1 warnings given
84 tests given
6 tests failed
problems detected!

0 comments: