You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(22) |
Nov
(85) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(47) |
Feb
(127) |
Mar
(268) |
Apr
(78) |
May
(47) |
Jun
(38) |
Jul
(131) |
Aug
(221) |
Sep
(187) |
Oct
(54) |
Nov
(111) |
Dec
(84) |
2011 |
Jan
(152) |
Feb
(106) |
Mar
(94) |
Apr
(90) |
May
(53) |
Jun
(20) |
Jul
(24) |
Aug
(37) |
Sep
(32) |
Oct
(70) |
Nov
(22) |
Dec
(15) |
2012 |
Jan
(33) |
Feb
(110) |
Mar
(24) |
Apr
(1) |
May
(11) |
Jun
(8) |
Jul
(12) |
Aug
(37) |
Sep
(39) |
Oct
(81) |
Nov
(38) |
Dec
(50) |
2013 |
Jan
(23) |
Feb
(53) |
Mar
(23) |
Apr
(5) |
May
(19) |
Jun
(16) |
Jul
(16) |
Aug
(9) |
Sep
(21) |
Oct
(1) |
Nov
(2) |
Dec
(8) |
2014 |
Jan
(16) |
Feb
(6) |
Mar
(27) |
Apr
(1) |
May
(10) |
Jun
(1) |
Jul
(4) |
Aug
(10) |
Sep
(19) |
Oct
(22) |
Nov
(4) |
Dec
(6) |
2015 |
Jan
(3) |
Feb
(6) |
Mar
(9) |
Apr
|
May
(11) |
Jun
(23) |
Jul
(14) |
Aug
(10) |
Sep
(10) |
Oct
(9) |
Nov
(18) |
Dec
(4) |
2016 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
(2) |
May
(15) |
Jun
(2) |
Jul
(8) |
Aug
(2) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(2) |
Feb
(12) |
Mar
(22) |
Apr
(6) |
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(5) |
Oct
(2) |
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(3) |
Aug
|
Sep
(7) |
Oct
(19) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Василий С. <wst...@gm...> - 2012-01-25 12:52:54
|
Hi, let me introduce my mini-app for working with svn (use svn client) svn/controller.xql *xquery version* "3.0"; declare variable $exist:path external; declare variable $exist:resource external; declare variable $exist:root external; declare variable $exist:controller external; *declare option* exist:serialize "method=html5 media-type=text/html indent=no"; <html> <head> <title>SVN Client</title> <link rel="stylesheet" href=" http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css"/> </head> <body style="width: 80%; margin: auto"> <h2>SVN Client</h2> <div class="row"> <div class="span8"> <h5> Checkout</h5> <form method="post"> <fieldset> <label for="svn-url">URL:</label><input name="svn-url"type ="text"/><br/><br/> <label for="destination">Collection:</label><input name= "destinatoin" type="text"/> </fieldset> <input type="submit" class="btn primary" name="action" value ="checkout"/> </form> <div> { *if* (*request:get-parameter*("action", "") = "checkout") *then* ( *let* $login := *xmldb:login*("/db/", "admin", "") *return* *subversion:checkout*(*request:get-parameter*( "svn-url", ""), *request:get-parameter*("destinatoin", "")) ) *else* () } </div> </div> <div class="span8"> <h5> Add or Delete</h5> <form method="post"> <fieldset> <label for="destination">Collection/Resource:</label><input name="destinatoin" type="text"/> </fieldset> <input type="submit" class="btn primary" name="action" value ="add"/> <input type="submit" class="btn danger" name="action" value= "delete"/> </form> <div> { *let* $l := *xmldb:login*("/db/", "admin", "") *let* $r := *if* (*request:get-parameter*("action", "") = "add") *then* *subversion:add*(*request:get-parameter*( "destination", "")) *else* *if* (*request:get-parameter*("action", "") = "delete") *then* *subversion:delete*(*request:get-parameter*("destination", "")) *else* () *return* $r } </div> </div> </div> <div class="row"> <div class="span8"> <h5> Checkin</h5> <form method="post"> <fieldset> <label for="destination">Collection:</label><input name= "destinatoin" type="text"/><br/><br/> <label for="comment">Comment:</label><textarea name= "comment" rows="5"/><br/><br/> <label for="login">SVN Login:</label><input name="login"type ="text"/><br/><br/> <label for="pass">SVN Pass:</label><input name="pass"type ="password"/> </fieldset> <input type="submit" class="btn primary" name="action" value ="checkin"/> </form> <div> { *if* (*request:get-parameter*("action", "") = "checkin") *then* ( *let* $login := *xmldb:login*("/db/", "admin", "") *return* *subversion:commit*( *request:get-parameter*("destinatoin", ""), *request:get-parameter*("comment", ""), *request:get-parameter*("login", ""), *request:get-parameter*("pass", "") ) ) *else* () } </div> </div> <div class="span8"> <h5> Delete</h5> <form method="post"> <fieldset> <label for="destination">Collection or resource:</label ><input name="destinatoin" type="text"/><br/><br/> </fieldset> <input type="submit" class="btn primary" name="action" value ="Info"/> </form> <div> { *if* (*request:get-parameter*("action", "") = "Info") *then* ( *let* $login := *xmldb:login*("/db/", "admin", "") *return* *subversion:info*(*request:get-parameter*( "destinatoin", "")) ) *else* () } </div> </div> </div> </body> </html> -- С наилучшими пожеланиями Василий Старцев |
From: Joe W. <jo...@gm...> - 2012-01-18 01:40:29
|
Hi Dannes, > I updated the try-catch implementation in 1.5/trunk to match the latest (and > last) XQuery 3.0 specification. The updated spec is incompatible with the > old spec, so if you already use the try-catch expression, you need to change > your code. This is great! Thanks so much! Joe |
From: Dannes W. <da...@ex...> - 2012-01-15 19:43:23
|
Hi, I updated the try-catch implementation in 1.5/trunk to match the latest (and last) XQuery 3.0 specification. The updated spec is incompatible with the old spec, so if you already use the try-catch expression, you need to change your code. Note: the ANTLR code hasn't been updated yet, this will be done later this week. Until then no XQuery compilation errors will be visible. Example code: xquery version '3.0'; try { fn:error(fn:QName('http://www.w3.org/2005/xqt-errors', 'err:FOER0000')) } catch * { $err:code, $err:value, " module: ", $err:module, "(", $err:line-number, ",", $err:column-number, ")" } Refs: - Updated Wiki : http://atomic.exist-db.org/HowTo/XQuery3/Try-CatchExpression - W3C specification : http://www.w3.org/TR/xquery-30/#id-try-catch kind regards Dannes Wessels -- eXist-db Native XML Database http://www.exist-db.org |
From: Dmitriy S. <sha...@gm...> - 2012-01-12 17:08:36
|
On Thu, Jan 12, 2012 at 9:47 PM, Pierrick Brihaye <pie...@fr...>wrote: > > I definitely get the same number of XQTS failures as before: 89 (with > > trunk as of today). > > > Any way to have the XQTS running on Teamcity as well ? > in a wish list -) -- Dmitriy Shabanov |
From: Pierrick B. <pie...@fr...> - 2012-01-12 16:48:08
|
Hi, > I definitely get the same number of XQTS failures as before: 89 (with > trunk as of today). Any way to have the XQTS running on Teamcity as well ? Cheers, p.b. |
From: Dannes W. <da...@ex...> - 2012-01-12 07:45:41
|
Hi, On Wed, Jan 11, 2012 at 10:52 PM, Adam Retter <ad...@ex...> wrote: > AHHH okay, so I was running this on 3 different revisions of trunk and > couldnt see why I got 105 on some. Turns out I forgot the ICU4j JAR on > some of the branches - apologies. > > We should really consider shipping icu4j with eXist-db I think. > yes maybe. The JAR is rather large whilst the current trunk installer is already incredibly *huge*. Most users do not need the functionality anyway...... cheers Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
From: Adam R. <ad...@ex...> - 2012-01-11 21:52:48
|
AHHH okay, so I was running this on 3 different revisions of trunk and couldnt see why I got 105 on some. Turns out I forgot the ICU4j JAR on some of the branches - apologies. We should really consider shipping icu4j with eXist-db I think. On 11 January 2012 21:43, Adam Retter <ad...@ex...> wrote: > Okay thats reassuring but strange that I see 105 failures here - I > will check again now... > > On 11 January 2012 21:41, Wolfgang Meier <wol...@ex...> wrote: >> Adam, >> >> I definitely get the same number of XQTS failures as before: 89 (with >> trunk as of today). >> >> Wolfgang >> >> >> 2012/1/11 Adam Retter <ad...@ex...>: >>> Hey Guys, >>> >>> After revision 15661 an additional 16 test failures have been >>> introduced according to XQTS 1.0.2. I dont know, but I could guess >>> that maybe these were the recent changes to the XQuery parser, can >>> anyone confirm? >>> >>> At revision 15661, there were only 89 failures in the XQTS 1.0.2 >>> Minimal Conformance test suite, there are now 105 failures at revision >>> 15667. Could someone please revert their breakages please? >>> >>> There have been no changes to the results of the JUnit test suite - >>> still 100% pass, I guess we dont have enough tests either... >>> >>> >>> Thanks Adan. >>> >>> -- >>> Adam Retter >>> >>> eXist Developer >>> { United Kingdom } >>> ad...@ex... >>> irc://irc.freenode.net/existdb > > > > -- > Adam Retter > > eXist Developer > { United Kingdom } > ad...@ex... > irc://irc.freenode.net/existdb -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Adam R. <ad...@ex...> - 2012-01-11 21:43:41
|
Okay thats reassuring but strange that I see 105 failures here - I will check again now... On 11 January 2012 21:41, Wolfgang Meier <wol...@ex...> wrote: > Adam, > > I definitely get the same number of XQTS failures as before: 89 (with > trunk as of today). > > Wolfgang > > > 2012/1/11 Adam Retter <ad...@ex...>: >> Hey Guys, >> >> After revision 15661 an additional 16 test failures have been >> introduced according to XQTS 1.0.2. I dont know, but I could guess >> that maybe these were the recent changes to the XQuery parser, can >> anyone confirm? >> >> At revision 15661, there were only 89 failures in the XQTS 1.0.2 >> Minimal Conformance test suite, there are now 105 failures at revision >> 15667. Could someone please revert their breakages please? >> >> There have been no changes to the results of the JUnit test suite - >> still 100% pass, I guess we dont have enough tests either... >> >> >> Thanks Adan. >> >> -- >> Adam Retter >> >> eXist Developer >> { United Kingdom } >> ad...@ex... >> irc://irc.freenode.net/existdb -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Wolfgang M. <wol...@ex...> - 2012-01-11 21:41:19
|
Adam, I definitely get the same number of XQTS failures as before: 89 (with trunk as of today). Wolfgang 2012/1/11 Adam Retter <ad...@ex...>: > Hey Guys, > > After revision 15661 an additional 16 test failures have been > introduced according to XQTS 1.0.2. I dont know, but I could guess > that maybe these were the recent changes to the XQuery parser, can > anyone confirm? > > At revision 15661, there were only 89 failures in the XQTS 1.0.2 > Minimal Conformance test suite, there are now 105 failures at revision > 15667. Could someone please revert their breakages please? > > There have been no changes to the results of the JUnit test suite - > still 100% pass, I guess we dont have enough tests either... > > > Thanks Adan. > > -- > Adam Retter > > eXist Developer > { United Kingdom } > ad...@ex... > irc://irc.freenode.net/existdb |
From: Adam R. <ad...@ex...> - 2012-01-11 20:55:08
|
Hey Guys, After revision 15661 an additional 16 test failures have been introduced according to XQTS 1.0.2. I dont know, but I could guess that maybe these were the recent changes to the XQuery parser, can anyone confirm? At revision 15661, there were only 89 failures in the XQTS 1.0.2 Minimal Conformance test suite, there are now 105 failures at revision 15667. Could someone please revert their breakages please? There have been no changes to the results of the JUnit test suite - still 100% pass, I guess we dont have enough tests either... Thanks Adan. -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Вячеслав С. <sch...@gm...> - 2012-01-11 14:21:41
|
i worry about strange and very annoying delay probably caused by wrong read-locking in current eXist-db engine well... what about timestamp-based read-write collisions resolving instead read-locking? > 11 января 2012 г. 18:13 пользователь Dmitriy Shabanov > <sha...@gm...> написал: >> It will be a bit slow, more then 100 times slower. But same time it possible >> to use as additional index. >> >> >> 2012/1/11 Вячеслав Седов <sch...@gm...> >>> >>> what about using neo4j as eXist-db base? >> >> >> -- >> Dmitriy Shabanov |
From: Dmitriy S. <sha...@gm...> - 2012-01-11 14:13:47
|
It will be a bit slow, more then 100 times slower. But same time it possible to use as additional index. 2012/1/11 Вячеслав Седов <sch...@gm...> > what about using neo4j as eXist-db base? > -- Dmitriy Shabanov |
From: Вячеслав С. <sch...@gm...> - 2012-01-11 12:30:13
|
what about using neo4j as eXist-db base? |
From: Dannes W. <da...@ex...> - 2012-01-09 10:11:38
|
Registration is now open on http://xmlprague2012.preconference.info/ regards Dannes On Sat, Jan 7, 2012 at 3:27 PM, Dannes Wessels <di...@ex...> wrote: > All, > > We are happy to announce the eXist-db users group meeting at the new > 'official' pre-conference day of XML prague 2012! This special day is the > best opportunity of the year to meet the eXist-db developers and the > eXist-db community. > > The program will be set in the next few weeks, but it will certainly > consist of presentations, discussions and demonstrations. An informational > web page (e.g. for registration) will be published soon. > > *Call for presentations/showcases/demos:* > We would like to invite you to show us your eXist-db based project, > application, product, thesis or your 5 minutes demo. Please contact us via > in...@ex... for your ideas and suggestions. > > Kind regards > > Dannes Wessels > > Links: > > 1. XML Prague 2012 Pre-conference Friday<http://www.xmlprague.cz/2012/pre-conference-friday.html> > (Official) > 2. XML Prague 2011 Pre-conference day<http://xmlprague2011.preconference.info/> (eXist > Solutions) > 3. Original announcement pre-conference day<https://xmlprague.wordpress.com/2011/10/17/pre-conference-day/> > > > -- > Dannes Wessels > eXist-db Open Source Native XML Database > e: da...@ex... w: http://www.exist-db.org t: #existdb @existdb > > > > > > > -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
From: Wolfgang M. <wol...@ex...> - 2012-01-06 10:25:02
|
Alain, Jens just told me we didn't answer this email, so I'm doing it now: > In XSLTForms SF repositories, I copied the latest version of TinyMCE in > a sub-folder named "scripts/tinymce_3.4.6" and I wonder what to do > within eXist repository. > > In eXist SF repository, is it better to add, instead, a "tinymce" > sub-folder in the "webapp/scripts" folder? For the time being, maybe yes. In the long run, I plan to move everything except maybe documentation out of webapp and into optional, installable packages using the package repository. It would be great to have an xsltforms package which people could deploy into the db when needed, along with some simple examples. Wolfgang |
From: Вячеслав С. <sch...@gm...> - 2012-01-05 17:13:51
|
5 января 2012 г. 20:22 пользователь Dannes Wessels <da...@ex...> написал: > On 5 Jan 2012, at 16:33 , Вячеслав Седов wrote: > > just seen little about Scala - look nice - something like mix from > Java & XQuery :) > > > interesting language for sure..... > > so i have 2 questions related to eXist-db and Scala > > 1 - what about moving eXist-db development to Scala? > > > what would be the purpose? You suggest to recode eXist in scala? > not whole eXist - at least not in one leap :) > 2 - what about supporting Scala modules? i note that writing many > modules in Scala is very nice in compare with pure java & xquery > > > Sure, Java can call Scala code just like normal Java code, no problem. What > is the problem you would like to solve? > i need convert ASCII-art based tables&forms to XHTML (or any others XML-based) form - i am not sure that i can use 100% XSLT-XQuery solution, 100% Java solution should be too big since Java not good for XML (IMHO), so Scala look very attractive for me ;) also i think that Scala support can help join to eXist-db many others developers > cheers > > Dannes > > |
From: Dannes W. <da...@ex...> - 2012-01-05 16:23:07
|
On 5 Jan 2012, at 16:33 , Вячеслав Седов wrote: > just seen little about Scala - look nice - something like mix from > Java & XQuery :) interesting language for sure..... > so i have 2 questions related to eXist-db and Scala > > 1 - what about moving eXist-db development to Scala? what would be the purpose? You suggest to recode eXist in scala? > 2 - what about supporting Scala modules? i note that writing many > modules in Scala is very nice in compare with pure java & xquery Sure, Java can call Scala code just like normal Java code, no problem. What is the problem you would like to solve? cheers Dannes |
From: Dmitriy S. <sha...@gm...> - 2012-01-05 16:00:58
|
2012/1/5 Вячеслав Седов <sch...@gm...> > just seen little about Scala - look nice - something like mix from > Java & XQuery :) > > > so i have 2 questions related to eXist-db and Scala > > 1 - what about moving eXist-db development to Scala? > It possible to use eXist as library for scala program, no needs to rewite it. > 2 - what about supporting Scala modules? i note that writing many > modules in Scala is very nice in compare with pure java & xquery > if you wish -) -- Dmitriy Shabanov |
From: Вячеслав С. <sch...@gm...> - 2012-01-05 15:33:55
|
just seen little about Scala - look nice - something like mix from Java & XQuery :) so i have 2 questions related to eXist-db and Scala 1 - what about moving eXist-db development to Scala? 2 - what about supporting Scala modules? i note that writing many modules in Scala is very nice in compare with pure java & xquery with best wishes, Slav |
From: Dan M. <dan...@gm...> - 2011-12-28 18:57:20
|
Hi Casey, I think the only way I know how to do this would be to create a new custom "grammar" file for a custom XQuery parser. You would first need to create a custom "ANTLR <http://www.antlr.org/>" grammar file. You would then declare that this grammar must be used in your XQuery declaration like this: *xquery version "1.0-custom";* Most people can pick up ANTLR after a few years of computer science classes in creating compilers and parsers. But be warned it is not easy. Here is a link to the eXist xquery "grammar" file: http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/xquery/parser/XQuery.g?revision=15599&view=markup Once this is done you would also need a custom version of eXist compiled with this grammar in place. If you don't have time to learn ANTLR you might post request for help on the ANTLR interest group antlr-interest. - Dan On Wed, Dec 28, 2011 at 12:31 PM, Casey Jordan <cas...@jo...>wrote: > Since eXist has its own XQuery analyzer/compiler, would it be possible to > enforce custom rules. Say a rule to force the developer into declaring > certain variables in particular files? > > For example, we have "instance.xql" files in our application, which need > to take a specific form. In the prolog I would like to force the developer > to define a variable like: > > declare variable $app-name = "somevalue"; > > And, if the compiler did not encounter this, it would throw an error? > > Thanks, > > Casey > > -- > -- > Casey Jordan > easyDITA a product of Jorsek LLC > "CaseyDJordan" on LinkedIn, Twitter & Facebook > (585) 348 7399 > easydita.com > > > This message is intended only for the use of the Addressee(s) and may > contain information that is privileged, confidential, and/or exempt from > disclosure under applicable law. If you are not the intended recipient, > please be advised that any disclosure copying, distribution, or use of > the information contained herein is prohibited. If you have received > this communication in error, please destroy all copies of the message, > whether in electronic or hard copy format, as well as attachments, and > immediately contact the sender by replying to this e-mail or by phone. > Thank you. > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1552 |
From: Casey J. <cas...@jo...> - 2011-12-28 18:31:56
|
Since eXist has its own XQuery analyzer/compiler, would it be possible to enforce custom rules. Say a rule to force the developer into declaring certain variables in particular files? For example, we have "instance.xql" files in our application, which need to take a specific form. In the prolog I would like to force the developer to define a variable like: declare variable $app-name = "somevalue"; And, if the compiler did not encounter this, it would throw an error? Thanks, Casey -- -- Casey Jordan easyDITA a product of Jorsek LLC "CaseyDJordan" on LinkedIn, Twitter & Facebook (585) 348 7399 easydita.com This message is intended only for the use of the Addressee(s) and may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, please be advised that any disclosure copying, distribution, or use of the information contained herein is prohibited. If you have received this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this e-mail or by phone. Thank you. |
From: Dannes W. <da...@ex...> - 2011-12-23 14:53:52
|
Hi, On 23 Dec 2011, at 13:37 , Hungerburg wrote: > but clean means: backup restore. tedious. > > is this a generated file, with the wrong reference? backup/restore should not be needed...... normally D. -- Dannes Wessels eXist-db Open Source Native XML Database e: da...@ex... w: http://www.exist-db.org t: #existdb |
From: Dannes W. <di...@ex...> - 2011-12-23 14:13:44
|
No clean needed.... Uploaded a patch minutes after the report..... Sent from my iPhone On 23 dec. 2011, at 13:37, Hungerburg <pc...@my...> wrote: > Am 2011-12-23 13:31, schrieb Dannes Wessels: >> HI, >> >> On 23 Dec 2011, at 12:59 , Hungerburg wrote: >> >>> BUILD FAILED >>> .../eXist/build/scripts/build-impl.xml:345: >>> .../eXist/src/org/exist/http/webdav/methods does not exist. >>> >>> do I have to clean or something? >> >> >> think so yes.... I moved some classes, if there are old references..... n old class files, these old classfiles must be removed.... >> >> I see the same message on teamcentre..... but not local after a clean >> > > but clean means: backup restore. tedious. > > is this a generated file, with the wrong reference? > > I patched it. Build went ok. > > Index: build/scripts/build-impl.xml > =================================================================== > --- build/scripts/build-impl.xml (revision 15595) > +++ build/scripts/build-impl.xml (working copy) > @@ -342,11 +342,6 @@ > <copy file="${src}/org/exist/system.properties" todir="${build.classes}/org/exist" > filtering="true" overwrite="true"/> > <copy file="${src}/org/exist/util/mime-types.xml" todir="${build.classes}/org/exist/util"/> > - <copy todir="${build.classes}/org/exist/http/webdav/methods"> > - <fileset dir="${src}/org/exist/http/webdav/methods"> > - <include name="**.xq"/> > - </fileset> > - </copy> > <copy todir="${build.classes}/org/exist/validation/internal/query"> > <fileset dir="${src}/org/exist/validation/internal/query"> > <include name="**.xq"/> |
From: Hungerburg <pc...@my...> - 2011-12-23 14:06:12
|
I did report a bug, that on line 362 of src/org/exist/http/RESTServer.java the class URLDecoder is used to decode a path component of an URI, which is wrong. I have now swapped the decoder and instrumented the build. A file "b+b.xml" uploaded through webdav can now be fetched by the same name from the rest servlet, and also by its encoded name "b%2Bb.xml". Still no joy from webdav though. Below some tests with different requests and the patch used: - the string to be decoded - the decoded string - reencoded by xmldburi 2011-12-23 14:37:52,194 [eXistThread-22] INFO (RESTServer.java [doGet]:365) - /db/plus/b+b.xml 2011-12-23 14:37:52,194 [eXistThread-22] INFO (RESTServer.java [doGet]:367) - /db/plus/b+b.xml 2011-12-23 14:37:52,194 [eXistThread-22] INFO (RESTServer.java [doGet]:373) - /db/plus/b+b.xml 2011-12-23 14:38:52,272 [eXistThread-22] INFO (RESTServer.java [doGet]:365) - /db/plus/b%2Bb.xml 2011-12-23 14:38:52,272 [eXistThread-22] INFO (RESTServer.java [doGet]:367) - /db/plus/b+b.xml 2011-12-23 14:38:52,272 [eXistThread-22] INFO (RESTServer.java [doGet]:373) - /db/plus/b+b.xml 2011-12-23 14:38:25,726 [eXistThread-28] INFO (RESTServer.java [doGet]:365) - /db/plus/b%20b.xml 2011-12-23 14:38:25,727 [eXistThread-28] INFO (RESTServer.java [doGet]:367) - /db/plus/b b.xml 2011-12-23 14:38:25,727 [eXistThread-28] INFO (RESTServer.java [doGet]:373) - /db/plus/b%20b.xml 2011-12-23 14:50:46,425 [eXistThread-28] INFO (RESTServer.java [doGet]:363) - /db/plus/a%252Ba.xml 2011-12-23 14:50:46,426 [eXistThread-28] INFO (RESTServer.java [doGet]:365) - /db/plus/a%2Ba.xml 2011-12-23 14:50:46,426 [eXistThread-28] INFO (RESTServer.java [doGet]:371) - /db/plus/a%2Ba.xml 2011-12-23 14:48:50,325 [eXistThread-27] INFO (RESTServer.java [doGet]:363) - /db/plus/b%25b.xml 2011-12-23 14:48:50,325 [eXistThread-27] INFO (RESTServer.java [doGet]:365) - /db/plus/b%b.xml 2011-12-23 14:48:50,327 [eXistThread-27] ERROR (EXistServlet.java [doGet]:366) - Invalid URI: Malformed escape pair at index 10: /db/plus/b%b.xml A request for a%a.txt from the browser will not log anything. maybe jetty takes on that one, by producing a blank page... Index: src/org/exist/http/RESTServer.java =================================================================== --- src/org/exist/http/RESTServer.java (revision 15596) +++ src/org/exist/http/RESTServer.java (working copy) @@ -32,7 +32,7 @@ import java.io.StringWriter; import java.io.Writer; import java.net.URI; -import java.net.URLDecoder; +import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; @@ -359,8 +359,17 @@ } // Process the request DocumentImpl resource = null; - XmldbURI pathUri = XmldbURI.create( URLDecoder.decode( path , "UTF-8" ) ); + XmldbURI pathUri = null; + LOG.info(path); try { + LOG.info ( new URI( path ).getPath() ); + pathUri = XmldbURI.create( new URI( path ).getPath() ); + } catch (URISyntaxException e) { + if (LOG.isDebugEnabled()) + LOG.debug(e.getMessage(), e); + } + LOG.info(pathUri); + try { // check if path leads to an XQuery resource String xquery_mime_type = MimeType.XQUERY_TYPE.getName(); String xproc_mime_type = MimeType.XPROC_TYPE.getName(); |
From: Hungerburg <pc...@my...> - 2011-12-23 12:37:43
|
Am 2011-12-23 13:31, schrieb Dannes Wessels: > HI, > > On 23 Dec 2011, at 12:59 , Hungerburg wrote: > >> BUILD FAILED >> .../eXist/build/scripts/build-impl.xml:345: >> .../eXist/src/org/exist/http/webdav/methods does not exist. >> >> do I have to clean or something? > > > think so yes.... I moved some classes, if there are old references..... n old class files, these old classfiles must be removed.... > > I see the same message on teamcentre..... but not local after a clean > but clean means: backup restore. tedious. is this a generated file, with the wrong reference? I patched it. Build went ok. Index: build/scripts/build-impl.xml =================================================================== --- build/scripts/build-impl.xml (revision 15595) +++ build/scripts/build-impl.xml (working copy) @@ -342,11 +342,6 @@ <copy file="${src}/org/exist/system.properties" todir="${build.classes}/org/exist" filtering="true" overwrite="true"/> <copy file="${src}/org/exist/util/mime-types.xml" todir="${build.classes}/org/exist/util"/> - <copy todir="${build.classes}/org/exist/http/webdav/methods"> - <fileset dir="${src}/org/exist/http/webdav/methods"> - <include name="**.xq"/> - </fileset> - </copy> <copy todir="${build.classes}/org/exist/validation/internal/query"> <fileset dir="${src}/org/exist/validation/internal/query"> <include name="**.xq"/> |