I was hoping I could use
Saxon to post output documents directly to a content engine running on Jetty.
I am trying to skip the 'generate content to disk' step and directly upload from XSLT using <XSL:Result-Document> having noticed that Michael Kay said folks had successfully used it with ftp and mailto.
My sample XSLT reads as follows:
Unfortunately, when I try this running this from Oxygen 11.0 and get the following error:
Engine name: Saxon-HE 22.214.171.124
Description: Failed while closing output file - 400 Bad Request for: http://localhost:8983/solr/update
Start location: 27:0
HTTP ERROR: 400 “missing content stream
For reference, the following is the simple command I would give using a utility like Curl to achieve an HTTP based upload:
C:\curl http://localhost:8983/solr/update/ -F stream.file=C:\FormattedContentFromXSLT\MyUploadContent.xml