From: Pallant, J. <pa...@fa...> - 2012-02-07 15:11:58
|
I just changed the file extension of the file to .xql and it worked. So don't think that is the issue. Julie --------------------------------------------------------- Julie Pallant Web and Systems Administrator Harvard Forest Harvard University 324 N. Main Street Petersham, MA 01366 978-756-6142 From: Dave Finton <dav...@gm...<mailto:dav...@gm...>> Date: Tue, 7 Feb 2012 10:10:02 -0500 To: Julie Pallant <pa...@fa...<mailto:pa...@fa...>> Cc: Wolfgang Meier <wol...@ex...<mailto:wol...@ex...>>, "exi...@li...<mailto:exi...@li...>" <exi...@li...<mailto:exi...@li...>> Subject: Re: [Exist-open] Linux Installation - not executing .xq files On Windows, text files have an extra carriage return at the end of every line of text. I know this can and will cause problems under Unix and Linux OS's. Could this be the case here? On Tue, Feb 7, 2012 at 9:02 AM, Pallant, Julie <pa...@fa...<mailto:pa...@fa...>> wrote: The filename.xq is on the file system not on within the database. Sigh. I looked at the mime-types.xml file and it is correctly defined there. Julie --------------------------------------------------------- Julie Pallant Web and Systems Administrator Harvard Forest Harvard University 324 N. Main Street Petersham, MA 01366 978-756-6142<tel:978-756-6142> On 2/7/12 9:45 AM, "Wolfgang Meier" <wol...@ex...<mailto:wol...@ex...>> wrote: >I wonder if you keep the filename.xq on the file system or within the >database? If it is in the database, please check with the Java admin >client if it's mime-type is set to "application/xquery". > >Wolfgang > > >2012/2/7 Pallant, Julie <pa...@fa...<mailto:pa...@fa...>>: >> Yes, I used the latest download and the x flag was set for all 644. >> Can I use a symbolic link from the file filename.xq to filename.xql? >> >> Julie >> --------------------------------------------------------- >> Julie Pallant >> Web and Systems Administrator >> Harvard Forest >> Harvard University >> 324 N. Main Street >> Petersham, MA 01366 >> 978-756-6142<tel:978-756-6142> >> >> >> From: Dmitriy Shabanov <sha...@gm...<mailto:sha...@gm...>> >> Date: Mon, 6 Feb 2012 23:25:07 -0500 >> To: Julie Pallant <pa...@fa...<mailto:pa...@fa...>> >> Cc: "exi...@li...<mailto:exi...@li...>" >><exi...@li...<mailto:exi...@li...>> >> Subject: Re: [Exist-open] Linux Installation - not executing .xq files >> >> Do you use last trunk? Did you set "x" flag? >> >> On Feb 7, 2012 2:07 AM, "Pallant, Julie" <pa...@fa...<mailto:pa...@fa...>> >>wrote: >>> >>> I have just moved my eXist setup from windows to Linux. The xquery >>>files >>> I used were filename.xq on the windows server. When I try to run them >>>on >>> the Linux, the browser only shows the actual contents of the >>>filename.xq to >>> the browser instead of executing the xquery form. If I change the >>> extension to .xql it works fine. >>> >>> I would just change the filename to .xql, but we have some links >>>already >>> submitted in a grant proposal. >>> >>> I am using the latest version of eXist on ubuntu >>> >>> Thank you, >>> Julie >>> >>> >>> --------------------------------------------------------- >>> Julie Pallant >>> Web and Systems Administrator >>> Harvard Forest >>> Harvard University >>> 324 N. Main Street >>> Petersham, MA 01366 >>> 978-756-6142<tel:978-756-6142> >>> >>> >>> >>> >>>------------------------------------------------------------------------ >>>------ >>> Try before you buy = See our experts in action! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>>MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-dev2 >>> _______________________________________________ >>> Exist-open mailing list >>> Exi...@li...<mailto:Exi...@li...> >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> >> >> >>------------------------------------------------------------------------- >>----- >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Exist-open mailing list >> Exi...@li...<mailto:Exi...@li...> >> https://lists.sourceforge.net/lists/listinfo/exist-open >> ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Exist-open mailing list Exi...@li...<mailto:Exi...@li...> https://lists.sourceforge.net/lists/listinfo/exist-open -- David Finton |