From: Rishi K S. <ris...@ah...> - 2008-06-02 09:21:42
|
Hi Glen,Ian, Sound good, as long as it resolve the issue.(filename starting with number or zip containing more than one file starting with number) just one more thing i want to ask, is there any way we can avoid to ingest zip, as (SFAPI) it inget zip file also as datastream, what i wanted, only file to be ingested which is in zip not zip file itself as well also. Best Regards ----------------------------------- Rishi K Sharma Systems Development Project Officer Centre for e-Research King's College London 0207 848 1971 -----Original Message----- From: swo...@li... [mailto:swo...@li...]On Behalf Of Ian Ibbotson Sent: 02 June 2008 10:06 To: Glen Robson Cc: swo...@li... Subject: Re: [sword-app-tech] File submission error Hiya Glen, cheers for the update. I've no real stake in the fedora adapter, but as an outside observer I'm just interested, is there no way to make the datastream identifiers more representative of the content type? The sword upload request contains a mime type doesn't it? Would that be any better? Cheers, Ian. On Mon, 2008-06-02 at 09:59 +0100, Glen Robson wrote: > Hi, > > When I was developing the Fedora Sword client I thought it would be a > good idea to use the deposited file name as the datastream id to aid > identification of the deposit and also to ensure the correct > extensions when the item is downloaded using the inbuilt fedora > disseminators. I can see now this is causing a few problems with > Fedora's inbuilt validation rules. The code which decides the file > name is in the following Java class: > > org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler > > The method code is as follows: > > public String getGenericFileName(final DepositCollection > pDeposit) > > if (pDeposit.getFilename() == null) { > tFilename = "upload"; > } else { > tFilename = pDeposit.getFilename(); > } > > I propose the following change to the method to produce unique > datastream names per object: > > protected static int _uniqueCount = 1; > public String getGenericFileName(final DepositCollection pDeposit) { > String tFilename = "upload" + _uniqueCount++; > if (pDeposit.getFilename() == null || > pDeposit.getFilename().indexOf(".") == -1) { > return tFilename; > } else { > int tExtensionStart = > pDeposit.getFilename().indexOf("."); > String tExtension = > pDeposit.getFilename().substring(tExtensionStart, > pDeposit.getFilename().length()); > return tFilename + "." + tExtension; > } > } > > Does anyone have any comments? > > Thanks > > Glen > > Fedora Implementation Developer > The National Library of Wales > > On 30 May 2008, at 15:15, Antony Corfield [awc] wrote: > > > It looks that way Ian, I needed to rename files such as data.pdf, > > data.txt to data_pdf.pdf, data_txt.txt > > > > I need a bath! > > > > Caused by: fedora.server.errors.ObjectValidityException: > >>>>> DOValidatorXMLSchema returned > >>>>> validation exception. > >>>>> The underlying exception was a org.xml.sax.SAXException. > > > > > > Regards, > > Antony > > -- > > Antony Corfield > > ROAD Project > > http://road.aber.ac.uk > > tel. 01970 628724 > > > > > >> -----Original Message----- > >> From: swo...@li... [mailto:sword-app- > >> tec...@li...] On Behalf Of Ian Ibbotson > >> Sent: 30 May 2008 14:57 > >> To: ris...@ah...; swo...@li... > >> Subject: Re: [sword-app-tech] File submission error > >> > >> Hiya All, > >> > >> I don't generally use the Fedora backend, but looking through the > >> stack > >> trace, I wonder if the problem is that the fedora foxml schema > >> defines a > >> datastream id as a string that must start with a character (An > >> NCName). > >> I suspect we need to take a peek insde the fedora adapter.. I don't > >> have > >> the code for that to hand, but I'll try and grab hold of it unless > >> Jim D > >> or someone else who knows better can beat me to it :) (Actually, not > >> sure about using the filename as the datastream id, but I think thats > >> down to my ignorance rather than anything else, I guess it's > >> difficult > >> to do anything better without more descriptive parameters in the > >> upload). I guess the initial hack workaround is to prefix filenames > >> with > >> a character. Now don't I feel dirty! > >> > >> Ian. > >> > >> > >> On Fri, 2008-05-30 at 14:35 +0100, Antony Corfield [awc] wrote: > >>> I have had a similar problem when depositing files that have the > >> same name but different extensions. If > >>> > >>> > >>> Regards, > >>> Antony > >>> -- > >>> Antony Corfield > >>> ROAD Project > >>> http://road.aber.ac.uk > >>> tel. 01970 628724 > >>> > >>> > >>>> -----Original Message----- > >>>> From: Rishi K Sharma [mailto:ris...@ah...] > >>>> Sent: 30 May 2008 14:34 > >>>> To: Antony Corfield [awc] > >>>> Subject: RE: [sword-app-tech] File submission error > >>>> > >>>> Yes, it works, if filename starts with character e.g. if i do > >> like > >>>> p12.pdf, i works > >>>> > >>>> Best Regards > >>>> ----------------------------------- > >>>> Rishi K Sharma > >>>> Systems Development Project Officer > >>>> Centre for e-Research > >>>> King's College London > >>>> 0207 848 1971 > >>>> > >>>> > >>>> > >>>> > >>>> -----Original Message----- > >>>> From: Antony Corfield [awc] [mailto:aw...@ab...] > >>>> Sent: 30 May 2008 14:26 > >>>> To: ris...@ah... > >>>> Subject: RE: [sword-app-tech] File submission error > >>>> > >>>> > >>>> I presume that's the problem, does it work if the file name > >> starts > >>>> with a character? > >>>> > >>>> > >>>> Regards, > >>>> Antony > >>>> -- > >>>> Antony Corfield > >>>> ROAD Project > >>>> http://road.aber.ac.uk > >>>> tel. 01970 628724 > >>>> > >>>> > >>>>> -----Original Message----- > >>>>> From: Rishi K Sharma [mailto:ris...@ah...] > >>>>> Sent: 30 May 2008 10:37 > >>>>> To: Antony Corfield [awc] > >>>>> Subject: RE: [sword-app-tech] File submission error > >>>>> > >>>>> Hi Antony, > >>>>> > >>>>> Thanks for your attention, > >>>>> > >>>>> I am using the following url to deposit > >>>>> http://localhost:8080/sword/app/deposit/collection:open > >>>>> > >>>>> also i am using the Fedora Server to ingest. > >>>>> I am using SWORD java API to deposit. > >>>>> > >>>>> I can ingest/deposit pdf, zip etc only thing if pdf name starts > >>>> with > >>>>> number, i am getting > >>>>> the following error > >>>>> > >>>>> The status is: Code: 500, Message: 'Internal Server Error' > >>>>> No valid Entry document was received from the server > >>>>> > >>>>> 10:28:04,125 DEBUG [org.purl.sword.server.DepositServlet] > >> Starting > >>>>> deposit processing at > >>>>> Fri May 30 10:28:04 BST 2008 by > >>>>> 127.0.0.1 > >>>>> 10:28:05,187 DEBUG [org.purl.sword.server.DepositServlet] > >> Starting > >>>>> deposit processing at > >>>>> Fri May 30 10:28:05 BST 2008 by > >>>>> 127.0.0.1 > >>>>> 10:28:12,234 DEBUG [org.purl.sword.server.DepositServlet] > >> Received > >>>>> filechecksum: > >>>>> 8ab97bd08e108db1ccf42c2ea5b35cbe > >>>>> 10:28:12,234 DEBUG [org.purl.sword.server.DepositServlet] > >> Received > >>>>> file checksum header: > >>>>> null > >>>>> 10:28:12,515 DEBUG [org.purl.sword.server.fedora.FedoraServer] > >>>>> UserID=sword > >>>>> 10:28:12,515 DEBUG [org.purl.sword.server.fedora.FedoraServer] > >>>>> IsAdministrator=true > >>>>> 10:28:12,578 DEBUG > >>>>> > >> [org.purl.sword.server.fedora.baseExtensions.XMLServiceDocument] > >>>>> Looking for collecitons for user gmr > >>>>> with XPath=./users/user[./text() = 'gmr'] > >>>>> 10:28:12,578 DEBUG > >>>>> > >> [org.purl.sword.server.fedora.baseExtensions.XMLServiceDocument] > >>>>> Looking for collecitons for user gmr > >>>>> with XPath=./users/user[./text() = 'gmr'] > >>>>> 10:28:12,609 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Looking > >>>>> for application/pdf and format > >>>>> null > >>>>> 10:28:12,609 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,656 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Loading > >>>>> org.purl.sword.server.fedora.f > >>>>> ileHandlers.JpegHandler as a file handler > >>>>> 10:28:12,656 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,656 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Loading > >>>>> org.purl.sword.server.fedora.f > >>>>> ileHandlers.METSFileHandler as a file handler > >>>>> 10:28:12,656 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,656 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Loading > >>>>> org.purl.sword.server.fedora.f > >>>>> ileHandlers.ZipFileHandler as a file handler > >>>>> 10:28:12,671 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,671 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Loading > >>>>> org.purl.sword.server.fedora.f > >>>>> ileHandlers.ZipMETSFileHandler as a file handler > >>>>> 10:28:12,671 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,687 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.FileHandlerFactory] > >>>>> Couldn't > >>>>> find a file handler so using > >>>>> default > >>>>> 10:28:12,687 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,703 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:12,953 DEBUG > >>>>> [org.purl.sword.server.fedora.fedoraObjects.FedoraObject] > >> Finding > >>>>> next > >>>>> pid user=sword password=sword > >>>>> 10:28:13,093 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler] > >>>>> copying > >>>>> file > >>>>> 10:28:13,125 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler] > >>>>> Filename > >>>>> '12p.pdf' > >>>>> 10:28:13,125 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler] > >>>>> Returning application/pdf > >>>>> 10:28:13,125 DEBUG > >>>>> [org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler] > >> No > >>>>> disseminators are added > >>>>> 10:28:13,125 DEBUG > >>>> [org.purl.sword.server.fedora.utils.XMLProperties] > >>>>> Loading > >>>>> C:\apache-tomcat-5.5.25\webapps\sword\WEB- > >>>>> INF\properties.xml > >>>>> 10:28:13,125 DEBUG > >>>>> [org.purl.sword.server.fedora.fedoraObjects.LocalDatastream] > >>>>> Uploading > >>>>> C:\Temp\uploaded-file.tmp > >>>>> 10:28:13,125 DEBUG [fedora.client.FedoraClient] FedoraClient is > >>>>> getting > >>>>> http://localhost:8080/fedora/management/upload > >>>>> 10:28:13,453 DEBUG > >>>>> [org.purl.sword.server.fedora.fedoraObjects.FedoraObject] Ready > >> to > >>>>> upload xml > >>>>> 10:28:13,453 DEBUG > >>>>> [org.purl.sword.server.fedora.fedoraObjects.InlineDatastream] > >>>> Writing > >>>>> out DC to FOXML > >>>>> 10:28:13,453 DEBUG > >>>>> [org.purl.sword.server.fedora.fedoraObjects.InlineDatastream] > >>>> Writing > >>>>> out RELS-EXT to FOXML > >>>>> <?xml version="1.0" encoding="UTF-8"?> > >>>>> <foxml:digitalObject xmlns:foxml="info:fedora/fedora- > >>>>> system:def/foxml#" > >>>>> PID="changeme:205"> > >>>>> <foxml:objectProperties> > >>>>> <foxml:property NAME="http://www.w3.org/1999/02/22-rdf- > >> syntax- > >>>>> ns#type" > >>>>> VALUE="FedoraObject" /> > >>>>> <foxml:property NAME="info:fedora/fedora- > >>>> system:def/model#state" > >>>>> VALUE="Active" /> > >>>>> <foxml:property NAME="info:fedora/fedora- > >>>> system:def/model#label" > >>>>> VALUE="Object created > >>>>> through the SWORD deposit sys > >>>>> tem" /> > >>>>> <foxml:property NAME="info:fedora/fedora- > >>>>> system:def/model#ownerId" VALUE="gmr" /> > >>>>> <foxml:property NAME="info:fedora/fedora- > >>>>> system:def/model#createdDate" > >>>>> VALUE="2008-05-30T09:28:13.078Z" /> > >>>>> <foxml:property NAME="info:fedora/fedora- > >>>>> system:def/view#lastModifiedDate" > >>>>> VALUE="2008-05-30T09:28:13.078Z" /> > >>>>> <foxml:extproperty NAME="org.purl.sword.slug" VALUE="My > >>>> deposit" > >>>>> /> > >>>>> </foxml:objectProperties> > >>>>> <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" > >>>>> VERSIONABLE="true"> > >>>>> <foxml:datastreamVersion ID="DC.0" LABEL="Dublin Core > >> Metadata" > >>>>> MIMETYPE="text/xml"> > >>>>> <foxml:contentDigest TYPE="DISABLED" DIGEST="none" /> > >>>>> <foxml:xmlContent> > >>>>> <oai_dc:dc > >>>>> xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"> > >>>>> <dc:title > >>>>> xmlns:dc="http://purl.org/dc/elements/1.1/">Uploaded by the > >> JISC > >>>>> funded SWORD project</dc:title> > >>>>> <dc:creator > >>>>> xmlns:dc="http://purl.org/dc/elements/1.1/">gmr</dc:creator> > >>>>> <dc:format > >>>>> > >>>> > >> xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:forma > >>>>> t> > >>>>> <dc:identifier > >>>>> xmlns:dc="http://purl.org/dc/elements/1.1/">My > >>>>> deposit</dc:identifier> > >>>>> </oai_dc:dc> > >>>>> </foxml:xmlContent> > >>>>> </foxml:datastreamVersion> > >>>>> </foxml:datastream> > >>>>> <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" > >>>>> VERSIONABLE="true"> > >>>>> <foxml:datastreamVersion ID="RELS-EXT.0" > >> LABEL="Relationships > >>>> to > >>>>> other objects" > >>>>> MIMETYPE="text/xml"> > >>>>> <foxml:contentDigest TYPE="DISABLED" DIGEST="none" /> > >>>>> <foxml:xmlContent> > >>>>> <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf- > >>>> syntax- > >>>>> ns#"> > >>>>> <rdf:Description > >> rdf:about="info:fedora/changeme:205"> > >>>>> <rel:isMemberOf xmlns:rel="info:fedora/fedora- > >>>>> system:def/relations-external#" > >>>>> rdf:resource="info:fedora/coll > >>>>> ection:open" /> > >>>>> </rdf:Description> > >>>>> </rdf:rdf> > >>>>> </foxml:xmlContent> > >>>>> </foxml:datastreamVersion> > >>>>> </foxml:datastream> > >>>>> <foxml:datastream ID="12p.pdf" STATE="A" CONTROL_GROUP="M" > >>>>> VERSIONABLE="true"> > >>>>> <foxml:datastreamVersion ID="12p.pdf.0" LABEL="SWORD > >> Generic > >>>> File > >>>>> Upload" > >>>>> MIMETYPE="application/pdf"> > >>>>> <foxml:contentDigest TYPE="DISABLED" DIGEST="none" /> > >>>>> <foxml:contentLocation TYPE="URL" REF="uploaded://443" /> > >>>>> </foxml:datastreamVersion> > >>>>> </foxml:datastream> > >>>>> </foxml:digitalObject> > >>>>> > >>>>> 10:28:14,437 ERROR > >>>>> [org.purl.sword.server.fedora.fedoraObjects.FedoraObject] Had > >>>>> problems > >>>>> adding the object to the repos > >>>>> itory; fedora.server.errors.ObjectValidityException: > >>>>> DOValidatorXMLSchema returned > >>>>> validation exception. > >>>>> The underlying exception was a org.xml.sax.SAXException. > >>>>> The message was "URI=null Line=37: cvc-datatype-valid.1.2.1: > >>>>> '12p.pdf' is not a valid > >>>>> value for 'NCName'." > >>>>> org.purl.sword.base.SWORDException: Had problems adding the > >> object > >>>> to > >>>>> the repository; > >>>>> at > >>>>> > >>>> > >> org.purl.sword.server.fedora.fedoraObjects.FedoraObject.ingest(Unknow > >>>>> n Source) > >>>>> at > >>>>> > >>>> > >> org.purl.sword.server.fedora.fileHandlers.DefaultFileHandler.ingestDe > >>>>> post(Unknown Source) > >>>>> at > >>>>> org.purl.sword.server.fedora.FedoraServer.doDeposit(Unknown > >> Source) > >>>>> at > >>>>> > >>>> > >> org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:240) > >>>>> at > >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > >>>>> at > >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > >>>>> icationFilterChain.ja > >>>>> va:269) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > >>>>> ilterChain.java:188) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV > >>>>> alve.java:213) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV > >>>>> alve.java:174) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j > >>>>> ava:127) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j > >>>>> ava:117) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal > >>>>> ve.java:108) > >>>>> at > >>>>> > >>>> > >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav > >>>>> a:151) > >>>>> at > >>>>> > >>>> > >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java > >>>>> :874) > >>>>> at > >>>>> > >>>> > >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p > >>>>> rocessConnection(Http > >>>>> 11BaseProtocol.java > >>>>> :665) > >>>>> at > >>>>> > >>>> > >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo > >>>>> int.java:528) > >>>>> at > >>>>> > >>>> > >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol > >>>>> lowerWorkerThread.jav > >>>>> a:81) > >>>>> at > >>>>> > >>>> > >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP > >>>>> ool.java:689) > >>>>> at java.lang.Thread.run(Thread.java:619) > >>>>> Caused by: fedora.server.errors.ObjectValidityException: > >>>>> DOValidatorXMLSchema returned > >>>>> validation exception. > >>>>> The underlying exception was a org.xml.sax.SAXException. > >>>>> The message was "URI=null Line=37: cvc-datatype-valid.1.2.1: > >>>>> '12p.pdf' is not a valid > >>>>> value for 'NCName'." > >>>>> at > >>>>> > >>>> > >> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder > >>>>> .java:222) > >>>>> at > >>>>> > >>>> > >> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder. > >>>>> java:129) > >>>>> at > >>>>> > >>>> > >> org.apache.axis.encoding.DeserializationContext.endElement(Deserializ > >>>>> ationContext.java:108 > >>>>> 7) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme > >>>>> nt(AbstractSAXParser. > >>>>> java:601) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp > >>>>> l.scanEndElement(XMLD > >>>>> ocumentFragmentScan > >>>>> nerImpl.java:1772) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp > >>>>> l$FragmentContentDriv > >>>>> er.next(XMLDocument > >>>>> FragmentScannerImpl.java:2923) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X > >>>>> MLDocumentScannerImpl > >>>>> .java:645) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next > >>>>> (XMLNSDocumentScanner > >>>>> Impl.java:140) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp > >>>>> l.scanDocument(XMLDoc > >>>>> umentFragmentScanne > >>>>> rImpl.java:508) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > >>>>> ML11Configuration.jav > >>>>> a:807) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > >>>>> ML11Configuration.jav > >>>>> a:737) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser. > >>>>> java:107) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab > >>>>> stractSAXParser.java: > >>>>> 1205) > >>>>> at > >>>>> > >>>> > >> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p > >>>>> arse(SAXParserImpl.ja > >>>>> va:522) > >>>>> at > >> javax.xml.parsers.SAXParser.parse(SAXParser.java:395) > >>>>> at > >>>>> > >>>> > >> org.apache.axis.encoding.DeserializationContext.parse(Deserialization > >>>>> Context.java:227) > >>>>> at > >>>>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) > >>>>> at > >>>> org.apache.axis.Message.getSOAPEnvelope(Message.java:435) > >>>>> at > >>>>> > >>>> > >> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders > >>>>> tandChecker.java:62) > >>>>> at > >>>>> org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) > >>>>> at > >> org.apache.axis.client.Call.invokeEngine(Call.java:2784) > >>>>> at org.apache.axis.client.Call.invoke(Call.java:2767) > >>>>> at org.apache.axis.client.Call.invoke(Call.java:2443) > >>>>> at org.apache.axis.client.Call.invoke(Call.java:2366) > >>>>> at org.apache.axis.client.Call.invoke(Call.java:1812) > >>>>> at > >>>>> > >>>> > >> info.fedora.www.definitions._1._0.api.ManagementSoapBindingStub.inges > >>>>> t(Unknown > >>>>> Source) > >>>>> ... 20 more > >>>>> 10:28:14,484 ERROR [org.purl.sword.server.fedora.FedoraServer] > >>>>> Exception occured: > >>>>> org.purl.sword.base.SWORDException: Ha > >>>>> d problems adding the object to the repository; > >>>>> org.purl.sword.base.SWORDException: Had problems adding the > >> object > >>>> to > >>>>> the repository; > >>>>> 10:28:14,484 ERROR [org.purl.sword.server.DepositServlet] > >>>>> org.purl.sword.base.SWORDException: Had problems adding the ob > >>>>> ject to the repository; > >>>>> > >>>>> > >>>>> Best Regards > >>>>> ----------------------------------- > >>>>> Rishi K Sharma > >>>>> Systems Development Project Officer > >>>>> Centre for e-Research > >>>>> King's College London > >>>>> 0207 848 1971 > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> -----Original Message----- > >>>>> From: Antony Corfield [awc] [mailto:aw...@ab...] > >>>>> Sent: 30 May 2008 09:50 > >>>>> To: ris...@kc... > >>>>> Subject: RE: [sword-app-tech] File submission error > >>>>> > >>>>> > >>>>> What errors/stack dump are you getting? > >>>>> What url are you using for deposit? > >>>>> Have you tried depositing to the Fedora test implementation? > >>>>> Have you tried using the test packages? > >>>>> What client are you using to deposit? > >>>>> > >>>>> See: > >> http://www.ukoln.ac.uk/repositories/digirep/index/SWORD_access > >>>>> > >>>>> > >>>>> > >>>>> Regards, > >>>>> Antony > >>>>> -- > >>>>> Antony Corfield > >>>>> ROAD Project > >>>>> http://road.aber.ac.uk > >>>>> tel. 01970 628724 > >>>>> > >>>>> > >>>>>> -----Original Message----- > >>>>>> From: swo...@li... > >> [mailto:sword- > >>>>> app- > >>>>>> tec...@li...] On Behalf Of Rishi K > >> Sharma > >>>>>> Sent: 29 May 2008 15:00 > >>>>>> To: swo...@li... > >>>>>> Subject: [sword-app-tech] File submission error > >>>>>> > >>>>>> Hi Guys, > >>>>>> > >>>>>> I am trying to use fedora Sword deposit api implementation > >> and i > >>>> am > >>>>>> not able to ingest > >>>>>> file which starting with number like (9.pdf or 9pm.pdf), > >>>>>> is there any way so that i can ingest these files into fedora > >>>> using > >>>>>> Sword deposit API. > >>>>>> > >>>>>> > >>>>>> > >>>>>> Best Regards > >>>>>> ----------------------------------- > >>>>>> Rishi K Sharma > >>>>>> Systems Development Project Officer > >>>>>> Centre for e-Research > >>>>>> King's College London > >>>>>> 0207 848 1971 > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> ------------------------------------------------------------- > >> ---- > >>>> -- > >>>>> -- > >>>>>> ---- > >>>>>> This SF.net email is sponsored by: Microsoft > >>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>>>> _______________________________________________ > >>>>>> sword-app-tech mailing list > >>>>>> swo...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > >>> > >>> > >>> ------------------------------------------------------------------- > >> ------ > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> sword-app-tech mailing list > >>> swo...@li... > >>> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2008. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> sword-app-tech mailing list > >> swo...@li... > >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sword-app-tech mailing list swo...@li... https://lists.sourceforge.net/lists/listinfo/sword-app-tech |