From: Dan M. <dan...@gm...> - 2010-09-23 02:06:17
|
Peter, Nice work on the Wikibook article! You are a very good writer. Is English your native language? I also think this would be VERY useful for doing things like adding MS-documents and PDF documents to a collection or subcollection. Unfortunately I am not qualified to debug the lower-level Java code but I am happy to help out in testing. - Dan On Wed, Sep 22, 2010 at 8:27 AM, Hungerburg <pc...@my...> wrote: > I have been trying to get triggers working in eXist. As promised, I > documented my findings in the xquery wiki. There is moderate success, > the wiki entry shows working code. > > http://en.wikibooks.org/wiki/XQuery/Using_Triggers_to_assign_identifiers > > But, as Dan already said, eXist xquery triggers cannot be relied on. I > found, that triggers may cause the thread they run in to hang, with > further changes to the affected resource going through without > triggering the script anymore. That makes them not suitable for critical > operations in a database. > > Also, the xquery syntax useable in triggers seems to me reduced to the > prolog, a severe limitation. As I am only a newbee, maybe I missed > something. From the looks of it, the script must not return (anything). > > The Trigger Promise: > > I would like eXist to act like a filesystem: windows explorer, mac > finder, fuse-dav or any other webdav client being the frontend. That > rules out Dan's suggestion of passing uploads through an xquery. For the > use case of mine, where there is lots of mostly binary documents and > only little structure (one xml that glues stuff together), I consider > drag and drop superior to filling forms. > > In a way, I would like the eXist framework to act as the controller. > Offering many great advantages over, say Samba: eg. schema validation, > lucene search or processing pipelines to name some. Am I unreasonable? > > Thank you, as always! > > -- > peter > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1552 |