|
From: Shannon H. <sha...@os...> - 2009-03-16 17:22:15
|
If I use the following and snippit to upload a directory containing some
xquery documents the documents all go in the db just fine, however, they are
all mime typed ³binary/octet stream² and not ³application/xml². This
prevents the xquery to actually be used in a web application as they are
just returned over HTTP as binary returns and not actually being executed by
the REST servlet. Can anyone else confirm this as a bug in the eXist Ant
tasks and or provide a workaround. I am using the latest download of exist
with no custom configuration of the mime types or rebuild:
<xdb:store xmlns:xdb="http://exist-db.org/ant"
uri="xmldb:exist://${dbhost}:${dbport}/exist/xmlrpc/db/mdr"
createcollection="true" createsubcollections="true" type="binary"
user="${dbusername}" password="${dbpassword}"> <fileset
dir="db/mdr"> <include name="**/*.xquery" />
</fileset> </xdb:store>
Thanks in advance,
Shannon Hastings
|