-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pica2kitodo_default.xsl not working with all catalogs #3800
Comments
pica2kitodo_default.xsl expects nodes with namespace "pica:" (e.g. pica:record, pica:datafield, pica:subfield). sru.hebis.de returns output without namespace "pica:" (see below output for ppn=37591790X). Processed this output through pica2kitodo_hebis.xsl, where "pica:" was replaced by "" (e.g. <xsl:template match="record"> instead of <xsl:template match="pica:record">). This returns valid search result (for pica.ppn, pica.per, pica.tit) - but the wrong record gets filled into form "Vorgangsmetadaten". I tried and in catalogue-description - both deliver a certain record into form "Vorgangsmetadaten", but the wrong one.
|
@matthias-ronge : Is the described problem still reproducible or could the issue be closed? |
Example catalog configuration:
Example search for PPN: 231752695
XML returned from catalog
XML after processing through
pica2kitodo_default.xsl
:(Only XML header, but no XML root element, nor anything else.)
Message in Production: Error (org.xml.sax.SAXParseException): Premature end of file.
The exception occurs in last line of
ImportService.importDocument()
when trying to parse the above output withXMLUtils
.The text was updated successfully, but these errors were encountered: