Re: RE : Uploading files
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/Uploading-files-tp30091p30105.html
Damien,
> All the files (main.xsd and base.xsd) are on a client's computer. So
> I upload the main.xsd like this :
[...]
> My problem is that I can't see how to upload the import element of
> main.xsd without asking the user. When I have uploaded the main.xsd,
> the only informations I have is <xs:import
> namespace="
http://www.example.com/SYS/base/2.0/ > schemaLocation="SYS/base/2.0/base.xsd"/> . And I don't know how to
> upload the file base.xsd (which is on client's computer) to the
> server ???
There is no way to do that as far as I know. A web browser allows you
to upload files that are explicitly selected by the user, and for
obvious security reasons web applications do not have access to the
client's hard drive.
I think you will have to tell your users to select for upload not only
the main schema, but all the dependent schemas as well.
-Erik
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws