- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 08 Jan 2001 18:18:57 +0000
- To: Donna Bergmark <bergmark@CS.Cornell.EDU>
- Cc: xmlschema-dev@w3.org
Donna Bergmark <bergmark@CS.Cornell.EDU> writes: > Hello, > I wish to use xsv to validate submissions to the Open Archive Initiative. > Therefore, I would like to use your service from a cgi script. I have > attempted a POST to your url, with the content set to docFile=filename, > style=text. What I get back from the validator is: > > Traceback (most recent call last): > File "/usr/local/Jigsaw/Jigsaw/WWW/cgi-bin/new-xmlschema-check", line 250, in ? > serveRequest() > File "/usr/local/Jigsaw/Jigsaw/WWW/cgi-bin/new-xmlschema-check", line 155, in serveRequest > data = upFile.file.read() > AttributeError: 'None' object has no attribute 'read' > > It would appear that it is not picking up the docFile value. To check > it out, I decided to use the form itself, interactively. It did nothing. > The file in question is world-readable. > > What could be wrong? Donna Arghh -- are you using Netscape? I just discovered that although the Browse/Upload/POST approach is working from my IE5/Win2K box, it is _not_ working from my Netscape-4.76/UN*X box -- too late in the day to debug this now -- any additional information from anyone else out there would be welcome. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/
Received on Monday, 8 January 2001 13:19:05 UTC