After further digging: The problem with the stylesheet turned out to be a stray namespaced attribute within it (an "xs:" in excess ...), which the external version of Saxon had ignored but the one within Fedora choked on.
I'm still baffled by the other issue (which was the same in either original or restful syntax). The source datastream is indeed locked down against external access, but should be available to internal processes (the one I copied it from was and still is). It will not allow the same internal access though, for reasons which elude me. The workaround is to use the datastream which I originally copied, which does still work, so at the cost of running the process through Saxon twice I have got it to work. And maybe one day I will get back to working out just what the difference is between the two sets of files that makes one work and the other not. Thanks for the advice. - - - - - # Richard Higgins # Durham University Library # Archives & Special Collections # Palace Green # Durham # DH1 3RN # E-Mail: r.i.higg...@durham.ac.uk -----Original Message----- From: Scott Prater [mailto:pra...@wisc.edu] Sent: 25 August 2011 18:34 To: Support and info exchange list for Fedora users. Subject: Re: [fcrepo-user] Debugging simple Content Models Richard, In general, debugging disseminators is tricky, as there are so many layers of indirection. It gets even more confusing if your external web service makes calls back to Fedora to retrieve data to create the dissemination, as is your case. I usually try to isolate each piece of my application stack, and test each piece before moving up to the next layer. In this case, I would first test to see that the objects exist and are available: http://endure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/ http://endure.dur.ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217 That looks okay, so let's try the datastreams: http://endure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/XSL returns a 404; http://endure.dur.ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217/EADARCHI VE returns a 403 Those are some problems right there. I notice you're using the old style RESTful paths, but that you're running Fedora 3.4.1. You'll probably want to change your paths to conform to the current RESTful interface: https://wiki.duraspace.org/display/FEDORA34/REST+API And try these URLs for your saxon 'style' parameter: http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:Styles.0005/datastream s/XSL/content and this for your 'source": http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:EADCatalogue.0217/data streams/EADARCHIVE/content The XSL datastream works for me; but the EADARCHIVE datastream prompts for me to log in, which may or may not be a problem. Then you put it all back together: http://endure.dur.ac.uk:8080/saxon/SaxonServlet?source=http://endure.dur .ac.uk:8080/fedora/objects/UkDhU:EADCatalogue.0217/datastreams/EADARCHIV E/content&style=http://endure.dur.ac.uk:8080/fedora/objects/UkDhU:Styles .0005/datastreams/XSL/content&clear-stylesheet-cache=yes I still get a 500 on that, but at least now you have some idea where to look; my best guess would be that the SaxonServlet doesn't have permissions to retrieve the EADARCHIVE datastream. -- Scott On 08/25/2011 12:03 PM, HIGGINS R.I. wrote: > http://endure.dur.ac.uk:8080/saxon/SaxonServlet?source=http://endure.dur > .ac.uk:8080/fedora/get/UkDhU:EADCatalogue.0217/EADARCHIVE&style=http://e > ndure.dur.ac.uk:8080/fedora/get/UkDhU:Styles.0005/XSL&clear-stylesheet-c > ache=yes -- Scott Prater Library, Instructional, and Research Applications (LIRA) Division of Information Technology (DoIT) University of Wisconsin - Madison pra...@wisc.edu ------------------------------------------------------------------------ ------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users