W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2001

posting xml to xsv

From: Donna Bergmark <bergmark@CS.Cornell.EDU>
Date: Mon, 08 Jan 2001 12:57:19 -0500
Message-Id: <200101081757.MAA03324@elgin.cs.cornell.edu>
To: xmlschema-dev@w3.org
cc: bergmark@CS.Cornell.EDU
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

--MAA24001.978976571/simon.cs.cornell.edu--
Received on Monday, 8 January 2001 12:57:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:19 GMT