Open infinite-dao opened 1 year ago
Checking for http://specimens.kew.org/herbarium/K000993285
occourrence_id
:
The error messages at the present for those URIs (like http://apps.kew.org/herbcat/rdfQuery.do?barcode=K000993285) is:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
root cause
java.lang.RuntimeException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
org.kew.herbcat.data.RDFHandler.format(RDFHandler.java:56)
org.kew.herbcat.data.RDFHandler.createRDF(RDFHandler.java:35)
org.kew.herbcat.actions.RDFAction.downloadRDF(RDFAction.java:166)
org.kew.herbcat.actions.RDFAction.execute(RDFAction.java:155)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
root cause
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
org.kew.herbcat.data.RDFHandler.format(RDFHandler.java:52)
org.kew.herbcat.data.RDFHandler.createRDF(RDFHandler.java:35)
org.kew.herbcat.actions.RDFAction.downloadRDF(RDFAction.java:166)
org.kew.herbcat.actions.RDFAction.execute(RDFAction.java:155)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
root cause
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
org.kew.herbcat.data.RDFHandler.format(RDFHandler.java:52)
org.kew.herbcat.data.RDFHandler.createRDF(RDFHandler.java:35)
org.kew.herbcat.actions.RDFAction.downloadRDF(RDFAction.java:166)
org.kew.herbcat.actions.RDFAction.execute(RDFAction.java:155)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
org.kew.servlet.filter.TagSwapFilter.doFilter(Unknown Source)
http://apps.kew.org/herbcat/rdfQuery.do?barcode=K000993285 works again, e.g.:
wget --header='Accept: application/rdf+xml' \
--no-check-certificate \
--max-redirect 4 -O \
- "http://specimens.kew.org/herbarium/K000993285" \
> "K000993285.rdf"
head K000993285.rdf
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dwc="http://rs.tdwg.org/dwc/terms/" xmlns:dwcc="http://rs.tdwg.org/dwc/curatorial/" xmlns:dc="http://purl.org/dc/terms/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:dwciri="http://rs.tdwg.org/dwc/iri/">
<!--This is metadata about this metadata document-->
<rdf:Description rdf:about="http://specimens.kew.org/herbarium/K000993285">
<dc:creator>RBG Kew Science</dc:creator>
<dc:created>2023-01-25 14:22:47+0000</dc:created>
<dc:hasVersion rdf:resource="http://apps.kew.org/herbcat/detailsQuery.do?barcode=K000993285"/>
</rdf:Description>
<!--This is metadata about this specimen-->
<rdf:Description rdf:about="http://specimens.kew.org/herbarium/K000993285">
Reading it in TriG format by converting it with Apache Jena trig
command and let it compress the format (use of prefixes):
/opt/jena-fuseki/import-sandbox/bin/apache-jena-4.4.0/bin/trig --formatted=trig K000993285.rdf
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dwc: <http://rs.tdwg.org/dwc/terms/> .
@prefix dwcc: <http://rs.tdwg.org/dwc/curatorial/> .
@prefix dwciri: <http://rs.tdwg.org/dwc/iri/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema> .
@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
<http://specimens.kew.org/herbarium/K000993285>
rdf:type dwc:PreservedSpecimen ;
dc:created "2023-01-25 14:22:47+0000" , "12/1917" ;
dc:creator "RBG Kew Science" , "Buchtien, O." ;
dc:description "A herbarium specimen of Anemia australis (Mickel) M.Kessler & A.R.Sm. collected by Buchtien, O. #794" ;
dc:hasVersion <http://apps.kew.org/herbcat/detailsQuery.do?barcode=K000993285> ;
dc:identifier "K000993285" ;
dc:license "https://creativecommons.org/licenses/by/4.0/" ;
dc:publisher <https://www.kew.org> ;
dc:title "Anemia australis (Mickel) M.Kessler & A.R.Sm.Buchtien, O.794" ;
dc:type "PhysicalObject" ;
dwciri:inCollection <http://biocol.org/urn:lsid:biocol.org:col:15867> ;
dwc:basisOfRecord "PreservedSpecimen" ;
dwc:catalogNumber "K000993285" ;
dwc:collectionCode "K" ;
dwc:collectionDate "19171200" ;
dwc:country "Bolivia" ;
dwc:family "Schizaeaceae" ;
dwc:genus "Anemia" ;
dwc:institutionCode "http://biocol.org/urn:lsid:biocol.org:col:15867" ;
dwc:locationRemarks "Yungas" ;
dwc:recordNumber "794" ;
dwc:recordedBy "Buchtien, O." ;
dwc:sampleID "http://specimens.kew.org/herbarium/K000993285" ;
dwc:scientificName "Anemia australis (Mickel) M.Kessler & A.R.Sm." ;
dwc:specificEpithet "australis" ;
dwc:verbatimElevation "1300.0 m" ;
owl:sameAs <http://specimens.kew.org/herbarium/K000993285> .
Summary of Import from May 23rd. 2022:
Cases of Error-Codes in detail: Thread-XX_specimens.kew.org_20220523_all_error.log
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
http://specimens.kew.org/herbarium/CETAF-ID...
Summary 2022-06-01
Decision:
Check 500 Internal Server Error check
Some tested: