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: Dan M. <dan...@gm...> - 2010-10-16 14:25:23
|
*> Can you contribute a use case (or several)? I did make some progress, but need more cases to cover bigger area.* Gladly! I am very interested in trying to understand how the world of documents (XML), tables, graphs (RDF) and OLAP work together. Something like a "grand unified theory of data". I think that eXist could be extended to include all four models, but the other models will never be flexible enough to include XML. I also think that XQuery extensions and modules might include the functions of both SQL, SPARQL and MDX. There are a few core concepts we must try to understand how the work with faceted search is opening the door to new thinking. The key is to integrate with existing open-source concepts so new open source developers will quickly understand what we are talking about. One of the first things to understand is the concepts of "categorical data" and "measurement data". Categorical data is where you divide all the items in any data set into discrete non-overlapping and potential hierarchical categories. Open source tools like Mondrian already have had very specific XML tags for configuring dimensions and measures. Measurement data is data that has can be "summed or averaged" such as integers, decimal numbers or financial amounts. First, if people have not used OLAP before I would get familiar with putting sample data sets with both categories (dimensions) and measures (vales and amounts) into a spreadsheet and then start using the "pivot table" features to create simple sums and totals. For using under 10,000 records most modern computers can recalculate all the totals in under 1 second. But this process gets your brain started to think about the concepts of data categories and measures. I have training materials on this if you are interested. Doing a Google of "Pivot Table Tutorial" is a good start. The most common and "typical" use case for OLAP cubes comes from the retail sales sector. Say you have 10,000,000 sales transactions items that look like this: <sales-transaction> <item-sku>1234567</item-sku> <datetime>2010-10-11T8:00.23</datetime> <store-id>12345</store-id> <shelf-height type="meters">1.2</shelf-height> <promotion-code>spring-sale</promotion-code> <price-paid currency="USD">1.23</price-paid> </sales-transaction> The first step you want to "enrich" the data to include all the descriptions about the item (color, size, weight) from your product catalog. These extended attributes can be placed into a much larger XML file will all the extended attributes of an item such as its color, size, weight and create reports such as "How many people purchased a red item any stores in when they are moved from the top to the middle shelf and what was the average price paid?" The key is to put the data into "fact" tables with many categories and pre-count the number of items in each category. If you have 10,000,000 items it can take a very long time to continually re-calculate the number of items in each sub-category (red hats under $10.00) Calculating the number of items in each sub-category can be done with triggers. Each time new records are added to "fact tables" you increment pre-computed data sets (called aggregate caches) that store the counts of items in each category. The more categories you have the larger the aggregates grow in disk space but the faster the sums are calculated. Most systems allow you to tune aggregate caches based on the most frequent queries. There are many other use cases from inventory management, order management, task and project management, and workflow but I will try to document these in other places. If anyone wants to volunteer an semi-public eXist server I can load a use-case XRX application. I think that Anne's initial work on faceted search is starting us to all think about the issues of storing pre-computed counts of items in collections. Although Anne's focus was faceted search, the approach of extending the configuration file was right on. And it made me ask - could we come up with some XML file format that would store generalized aggregate information used in both faceted search and in analytical reporting? BI and OLAP are trillion dollar market segments that all depend on the ability of an information system to pre-compute sums. The concepts of aggregates is also very general. If we designed this correctly eXist could be the only system in the world that would BI functions using simple XQuery extensions. Very, very exciting! Here are a few other references that might help: There are XML standards for defining dimensions and measure that are part of the Common Warehouse Metamodel CWM standard here: http://en.wikipedia.org/wiki/Common_Warehouse_Metamodel OLAP Overview http://mondrian.pentaho.com/documentation/olap.php MDX Tutorial using Mondrian http://www.cse.unsw.edu.au/~cs9318/10s1/lect/*MDX*.pdf Mondrian Architecture http://mondrian.pentaho.com/documentation/architecture.php Aggregate Tables http://mondrian.pentaho.com/documentation/aggregate_tables.php This note got a bit long. I will try to re-post it on a blog. I hope this helps! - Dan On Wed, Oct 13, 2010 at 1:25 PM, Dmitriy Shabanov <sha...@gm...>wrote: > Hi Dan, > > On Tue, Oct 12, 2010 at 1:49 AM, Dan McCreary <dan...@gm...>wrote: > >> It is very interesting to see that pre-computed counts of item >> categories might be included in a native XML database! My initial >> reason for wanting to use eXist was to track metadata related to OLAP >> cubes! >> > > Can you contribute a use case (or several)? I did make some progress, but > need more cases to cover bigger area. > > -- > Dmitriy Shabanov > -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1552 |
From: Dmitriy S. <sha...@gm...> - 2010-10-15 12:56:46
|
I did this changers and as Wolfgang did say, it was a bug before ... On Fri, Oct 15, 2010 at 5:13 PM, Wolfgang Meier <wol...@ex...>wrote: > Andrzej, > > I tested the following query on saxon and eXist: > > declare namespace dsml="http://www.dsml.org/DSML"; > > declare variable $local:xml := > <dsml:dsml xmlns:dsml="http://www.dsml.org/DSML" > dn="ou=users,o=xxx,dc=xxx,dc=com"> > <dsml:directory-entries> > <dsml:entry dn="uid=ted"> > <dsml:objectclass> > <dsml:oc-value>top</dsml:oc-value> > <dsml:oc-value>person</dsml:oc-value> > <dsml:oc-value>posixAccount</dsml:oc-value> > <dsml:oc-value>ravenUser</dsml:oc-value> > </dsml:objectclass> > <dsml:attr name="sn"> > <dsml:value>Seuss</dsml:value> > </dsml:attr> > <dsml:attr name="userPassword"> > <dsml:value>SHA256xxxxxxxx</dsml:value> > </dsml:attr> > <dsml:attr name="uidNumber"> > <dsml:value>5000</dsml:value> > </dsml:attr> > </dsml:entry> > </dsml:directory-entries> > </dsml:dsml> > ; > > $local:xml//dsml:dsml > > returns the empty sequence, while > > $local:xml/descendant-or-self::dsml:dsml > > returns the dsml root node. This is because // does actually stand for > descendant-or-self::node(). If I remember well, we had a bug in this > area some time ago, but the current behavior seems to be correct. So > either you were relying on this bug or there's something else in your > query which makes it fail. > > Wolfgang > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Dmitriy Shabanov |
From: Wolfgang M. <wol...@ex...> - 2010-10-15 12:13:50
|
Andrzej, I tested the following query on saxon and eXist: declare namespace dsml="http://www.dsml.org/DSML"; declare variable $local:xml := <dsml:dsml xmlns:dsml="http://www.dsml.org/DSML" dn="ou=users,o=xxx,dc=xxx,dc=com"> <dsml:directory-entries> <dsml:entry dn="uid=ted"> <dsml:objectclass> <dsml:oc-value>top</dsml:oc-value> <dsml:oc-value>person</dsml:oc-value> <dsml:oc-value>posixAccount</dsml:oc-value> <dsml:oc-value>ravenUser</dsml:oc-value> </dsml:objectclass> <dsml:attr name="sn"> <dsml:value>Seuss</dsml:value> </dsml:attr> <dsml:attr name="userPassword"> <dsml:value>SHA256xxxxxxxx</dsml:value> </dsml:attr> <dsml:attr name="uidNumber"> <dsml:value>5000</dsml:value> </dsml:attr> </dsml:entry> </dsml:directory-entries> </dsml:dsml> ; $local:xml//dsml:dsml returns the empty sequence, while $local:xml/descendant-or-self::dsml:dsml returns the dsml root node. This is because // does actually stand for descendant-or-self::node(). If I remember well, we had a bug in this area some time ago, but the current behavior seems to be correct. So either you were relying on this bug or there's something else in your query which makes it fail. Wolfgang |
From: Adam R. <ad...@ex...> - 2010-10-15 10:31:10
|
> It seems that the handling and/or xpath matching to the root node has changed in trunk since > sometime last July. > > The //dsml:dsml is not picking up the root node...it's like it's starting the search below the root > node and thus doesn't find the initial root node. > > This was always a problem with in-memory fragments....you had to do a //root to get to the top level > on a fragment. I'm having other symptoms that elsewhere in our application (we construct fragments > all over the place), that might be due to the same changed behaviour. > > The problem is that if this behaviour has, in fact, been changed, it has broken a lot of our code in > a production healthcare system! If you could find out when this change occurred then we could identify the issue... > -- > Andrzej Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Adam R. <ad...@ex...> - 2010-10-15 10:29:52
|
Possibly a corrupted index? On 15 October 2010 01:23, Andrzej Jan Taramina <an...@ch...> wrote: > Guys: > > When I tried to do some queries against an older database (from late July), I got this, when using > the latest SVN Trunk: > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 9 > at org.exist.storage.RangeIndexSpec.indexTypeToXPath(RangeIndexSpec.java:91) > at org.exist.dom.NodeProxy.getIndexType(NodeProxy.java:390) > at org.exist.dom.NewArrayNodeSet.getIndexType(NewArrayNodeSet.java:1126) > at org.exist.xquery.GeneralComparison.quickNodeSetCompare(GeneralComparison.java:690) > at org.exist.xquery.GeneralComparison.eval(GeneralComparison.java:443) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > > Have there been some changes in trunk to range indexes? > > I reindexed and it seemed to make this problem go away... > > -- > Andrzej Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Adam R. <ad...@ex...> - 2010-10-15 10:28:41
|
Sorry, I have no idea how that happened - I am not even sure how to get that character on my keyboard! At a total loss to explain it... Thanks for fixing it. Adam. On 14 October 2010 19:46, Andrzej Jan Taramina <an...@ch...> wrote: >> Updated to the latest SVN trunk...figured it was time to try out the new security framework and >> such....but when I tried to run the admin.xql web admin app, I get: >> >> Cannot compile xquery: error found while loading module xqueries: error found while loading module >> from xqueries.xqm: unexpected char: 0x2D8 > > The last checkin by deliriumsky included a bad character....I fixed this and checked in a revised > xquery.xqm file that resolves the issue. > > Perhaps someone was looking up at the sky in a delirium? LOL' > > -- > Andrzej Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |
From: Andrzej J. T. <an...@ch...> - 2010-10-15 00:37:23
|
Guys: It used to be that the following xquery code fragment: let $entry := jndi:search( ... )//dsml:dsml/dsml:directory-entries/dsml:entry would return something like this: <dsml:entry dn="uid=ted"> <dsml:objectclass> <dsml:oc-value>top</dsml:oc-value> <dsml:oc-value>person</dsml:oc-value> <dsml:oc-value>posixAccount</dsml:oc-value> <dsml:oc-value>ravenUser</dsml:oc-value> </dsml:objectclass> <dsml:attr name="sn"> <dsml:value>Seuss</dsml:value> </dsml:attr> <dsml:attr name="userPassword"> <dsml:value>{SHA256}xxxxxxxx</dsml:value> </dsml:attr> <dsml:attr name="uidNumber"> <dsml:value>5000</dsml:value> </dsml:attr> </dsml:entry> But with the latest trunk it returns an empty set! Even though the document that is returned from the jndi:search() function is still (when I serialize the output of the JNDI call) <dsml:dsml xmlns:dsml="http://www.dsml.org/DSML" dn="ou=users,o=xxx,dc=xxx,dc=com"> <dsml:directory-entries> <dsml:entry dn="uid=ted"> <dsml:objectclass> <dsml:oc-value>top</dsml:oc-value> <dsml:oc-value>person</dsml:oc-value> <dsml:oc-value>posixAccount</dsml:oc-value> <dsml:oc-value>ravenUser</dsml:oc-value> </dsml:objectclass> <dsml:attr name="sn"> <dsml:value>Seuss</dsml:value> </dsml:attr> <dsml:attr name="userPassword"> <dsml:value>{SHA256}xxxxxxxx</dsml:value> </dsml:attr> <dsml:attr name="uidNumber"> <dsml:value>5000</dsml:value> </dsml:attr> </dsml:entry> </dsml:directory-entries> </dsml:dsml> It seems that the handling and/or xpath matching to the root node has changed in trunk since sometime last July. The //dsml:dsml is not picking up the root node...it's like it's starting the search below the root node and thus doesn't find the initial root node. This was always a problem with in-memory fragments....you had to do a //root to get to the top level on a fragment. I'm having other symptoms that elsewhere in our application (we construct fragments all over the place), that might be due to the same changed behaviour. The problem is that if this behaviour has, in fact, been changed, it has broken a lot of our code in a production healthcare system! -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |
From: Andrzej J. T. <an...@ch...> - 2010-10-15 00:23:03
|
Guys: When I tried to do some queries against an older database (from late July), I got this, when using the latest SVN Trunk: Caused by: java.lang.ArrayIndexOutOfBoundsException: 9 at org.exist.storage.RangeIndexSpec.indexTypeToXPath(RangeIndexSpec.java:91) at org.exist.dom.NodeProxy.getIndexType(NodeProxy.java:390) at org.exist.dom.NewArrayNodeSet.getIndexType(NewArrayNodeSet.java:1126) at org.exist.xquery.GeneralComparison.quickNodeSetCompare(GeneralComparison.java:690) at org.exist.xquery.GeneralComparison.eval(GeneralComparison.java:443) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59) at org.exist.xquery.PathExpr.eval(PathExpr.java:241) Have there been some changes in trunk to range indexes? I reindexed and it seemed to make this problem go away... -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |
From: Andrzej J. T. <an...@ch...> - 2010-10-14 18:46:32
|
> Updated to the latest SVN trunk...figured it was time to try out the new security framework and > such....but when I tried to run the admin.xql web admin app, I get: > > Cannot compile xquery: error found while loading module xqueries: error found while loading module > from xqueries.xqm: unexpected char: 0x2D8 The last checkin by deliriumsky included a bad character....I fixed this and checked in a revised xquery.xqm file that resolves the issue. Perhaps someone was looking up at the sky in a delirium? LOL' -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |
From: Andrzej J. T. <an...@ch...> - 2010-10-14 18:27:21
|
Updated to the latest SVN trunk...figured it was time to try out the new security framework and such....but when I tried to run the admin.xql web admin app, I get: Cannot compile xquery: error found while loading module xqueries: error found while loading module from xqueries.xqm: unexpected char: 0x2D8 Huh? -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |
From: Leif-Jöran O. <lj...@ex...> - 2010-10-11 20:22:00
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Den 2010-10-11 11:55, Wolfgang Meier skrev: >>> could please anybody fix wiki ? I'm hoping each day that it's finally >>> fixed, but it is still down for 2 weeks. I needs some information from >>> there. >> >> Yes, I am sorry, but I have not received the data for restore yet. > > I did an export of the data and will now try to prepare an updated > version of the wiki. An old backup of the data is restored until the atomic update will be performed. Leif-Jöran -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iD8DBQFMs3HbhcIn5aVXOPIRAkpvAJ43Cc5C4I7r5Qk730BVoRC3r3sqFQCgja1r lgvaMax7fnWeOMzLHTRda4c= =C+hs -----END PGP SIGNATURE----- |
From: Wolfgang M. <wol...@ex...> - 2010-10-11 09:55:28
|
>> could please anybody fix wiki ? I'm hoping each day that it's finally >> fixed, but it is still down for 2 weeks. I needs some information from >> there. > > Yes, I am sorry, but I have not received the data for restore yet. I did an export of the data and will now try to prepare an updated version of the wiki. Wolfgang |
From: Leif-Jöran O. <lj...@ex...> - 2010-10-11 09:36:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Den 2010-10-09 15:01, Jakub Liska skrev: > Hey, > > could please anybody fix wiki ? I'm hoping each day that it's finally > fixed, but it is still down for 2 weeks. I needs some information from > there. Yes, I am sorry, but I have not received the data for restore yet. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iD4DBQFMstqqhcIn5aVXOPIRAkwPAKCYuq7bjlkydi0OBxy3mPY4iaqxzgCYr7E9 UNcS6CTdsM+UTueppER1hw== =JcTP -----END PGP SIGNATURE----- |
From: Jakub L. <lis...@gm...> - 2010-10-09 15:55:23
|
Hey, I can't add new entry to a feed. java 1.6, linux ... Could please anybody help me out here ? steps taken: 1. check out exist-db trunk 2. built trunk 3. checked out atomicwiki trunk 4. set up path to the built exist-db in build.properties 5. built it 6. start.sh it 7. setup run ok 8. at localhost:8000 9. create new feed myfeed 10. entered feed - http://localhost:8000/myfeed/ 11. create new entry > /db/wiki/view.xqlAn exception occurred while compiling the stylesheet: normalizePath may only be applied to an absolute path [at line 261, column 33] In call to function: rend:render-default(xs:string?, xs:string, xs:string*, element()?) [55:39] Appreciate any help, Jakub |
From: Dannes W. <da...@ex...> - 2010-10-09 13:58:47
|
For sure I ran into a situation there was a null value involved. In all conditions the mimetype set must be the same as eg via the rest interface. Thee shall ignore the logging of the mimeutil framework, we'll not use it. It is just some logging, nothing special. If it disturbed you, we could mute the logging, but the log4j config file is already large.... Cheers Dannes Sent from my iPhone On 6 okt. 2010, at 21:03, Stefan Majewski <ste...@un...> wrote: > mhh, I assumed that the mime==null test is used such that you won't run into trouble if it were actually null. I don't know if that can happen, Dannes obviously thought it might be possible. In that case I think it is not sensible to call a function on mime (if it can be null). |
From: Jakub L. <lis...@gm...> - 2010-10-09 13:02:03
|
Hey, could please anybody fix wiki ? I'm hoping each day that it's finally fixed, but it is still down for 2 weeks. I needs some information from there. Thanks, Jakub |
From: José M. F. G. <jm...@us...> - 2010-10-08 09:32:31
|
Hi Dmitriy, thanks for the advice! I knew I had to change a dbx file signature, but as I found 3 different ones, I was not sure about which one to change. You are welcome to submit such change to my branch :-) Kind Regards, José María On 08/10/10 05:48, Dmitriy Shabanov wrote: > On Fri, Oct 8, 2010 at 1:12 AM, <jm...@us... <mailto:jm...@us...>> wrote: > > Revision: 12907 > http://exist.svn.sourceforge.net/exist/?rev=12907&view=rev <http://exist.svn.sourceforge.net/exist/?rev=12907&view=rev> > Author: jmfg > Date: 2010-10-07 20:12:06 +0000 (Thu, 07 Oct 2010) > > Log Message: > ----------- > Next bunch of changes. The more important ones are: > * 'Content-Length' header generation by hand in order to bypass limitations from Java API. > * Binary resources size is stored now as a long value in the database metadata > (how can I signal the format has changed?). > > > change dbx version > > http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/storage/dom/DOMFile.java?revision=12041&view=markup <http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/storage/dom/DOMFile.java?revision=12041&view=markup> > > FILE_FORMAT_VERSION_ID > > > If dataformat is changed, can I also changer the permission signature by adding setuid (change user ID on execution) & setgid (change group ID on execution) flags > > -- > Dmitriy Shabanov > > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > > > > _______________________________________________ > Exist-commits mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-commits -- "La violencia es el último recurso del incompetente" - Salvor Hardin en "La Fundación" de Isaac Asimov "Premature optimization is the root of all evil." - Donald Knuth José María Fernández González e-mail: jos...@gm... |
From: Dmitriy S. <sha...@gm...> - 2010-10-08 03:48:08
|
On Fri, Oct 8, 2010 at 1:12 AM, <jm...@us...> wrote: > Revision: 12907 > http://exist.svn.sourceforge.net/exist/?rev=12907&view=rev > Author: jmfg > Date: 2010-10-07 20:12:06 +0000 (Thu, 07 Oct 2010) > > Log Message: > ----------- > Next bunch of changes. The more important ones are: > * 'Content-Length' header generation by hand in order to bypass > limitations from Java API. > * Binary resources size is stored now as a long value in the database > metadata > (how can I signal the format has changed?). change dbx version http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/src/org/exist/storage/dom/DOMFile.java?revision=12041&view=markup FILE_FORMAT_VERSION_ID If dataformat is changed, can I also changer the permission signature by adding setuid (change user ID on execution) & setgid (change group ID on execution) flags -- Dmitriy Shabanov |
From: Stefan M. <ste...@un...> - 2010-10-07 05:36:16
|
Hi Dimitriy, On Mi, 6.10.2010, 19:26, Dmitriy Shabanov wrote: > I did update it to saxon's new one (old was taken from saxon too). Can > you give me example, so I can try to fix, explain why not or recommend > workaround. a minimal example would be declare namespace tei = "http://www.tei-c.org/ns/1.0"; //tei:u[matches(., "(\b)(test)(\b)")] I use things like that for splitting texts at boundaries, preserving them. I don't know why, but that worked before. cheers and thanks for your kind offer of having a look at this, Stefan |
From: Dmitriy S. <sha...@gm...> - 2010-10-06 17:25:56
|
On Tue, 2010-10-05 at 23:05 +0200, Stefan Majewski wrote: > Quite a while ago I wrote the message below. At that time I noticed > that XQuery does not allow for look-aheads and look-behinds in > regexes. Nonetheless, exist at that time used java regex syntax which > allowed that. Obviously that has changed, as I get this error when > migrating some patterns from 1.4 to current trunk. > > a call to matches() with an offending regex yields the following > message: > Conversion from XPath2 to Java regular expression syntax failed: Error at character 2 in regular expression (\b)(test)(\b): invalid escape sequenc > > This is just a stupid example, I know, but at some points > lookahead/behind can be very handy. I am just wondering if there is > any chance to get java regex behaviour back? I fear it is for some > reason not possible, like standards conformance, indexes?. I guess I > could find some kind of work-around. > > Anybody else stumbling over things like this? I did update it to saxon's new one (old was taken from saxon too). Can you give me example, so I can try to fix, explain why not or recommend workaround. -- Cheers, Dmitriy Shabanov |
From: Hungerburg <pc...@my...> - 2010-10-06 16:52:38
|
Hello Stefan, Dannes, Another case for changing the mime-type setting: below log snippet of the most striking failure of the MimeUtil parser: > DEBUG (PutHandler.java [processCreate]:153) - process: putting to: views > DEBUG (MimeUtil.java [getMimeTypes]:478) - Getting mime types for file name [fop.xq]. > DEBUG (MimeUtil.java [getMimeTypes]:974) - Retrieved mime types [application/octet-stream] > DEBUG (PutHandler.java [processCreate]:157) - PutHandler: creating resource of type: application/octet-stream > DEBUG (MiltonCollection.java [createNew]:245) - Create 'fop.xq' in '/db/apps/produkte/views' > DEBUG (ExistCollection.java [createFile]:333) - Create 'fop.xq' in '/db/apps/produkte/views' > DEBUG (ExistCollection.java [createFile]:334) - Create 'fop.xq' passed-in-type 'application/octet-stream' > DEBUG (ExistCollection.java [createFile]:392) - Inserting BINARY document 'application/xquery' > DEBUG (Collection.java [checkPermissions]:1376) - Found old doc 1548 > DEBUG (Collection.java [addBinaryResource]:1502) - removing old document fop.xq > DEBUG (NativeBroker.java [removeBinaryResource]:2287) - removing binary resource 1548... > DEBUG (RenameBinaryLoggable.java [<init>]:39) - Rename binary created /opt/eXist/webapp/WEB-INF/data/fs/[...] > DEBUG (NativeBroker.java [removeResourceMetadata]:2335) - Removing resource metadata for 1548 > DEBUG (CreateBinaryLoggable.java [<init>]:36) - CreateBinaryLoggable created > DEBUG (ExistCollection.java [createFile]:401) - Document created sucessfully > DEBUG (ExistCollection.java [createFile]:447) - Finished creation As Stefan said before: it does not recognise xquery-scripts ;) On the patch: I just left out the "else", because after the test, mime is guaranteed to not be "null". I have yet to upload a document, that does not create "mime". Maybe then, contentType was also "null", so to set it only on the condition, that mime was not "null" would be a bug then. A production solution will have to wait for Dannes. Maybe upstream mimeutil can be fixed. There is no hurry, at least for me, as your workaround seems fine. As is, its not ready for release, I'd say. -- peter |
From: Stefan M. <ste...@un...> - 2010-10-06 14:03:36
|
On 06/10/10 15:41, Hungerburg wrote: > Am 2010-10-05 15:49, schrieb Stefan Majewski: > > I have changed ExistCollection.java in my local build to > *unconditionally* set contentType = mime.getName() and sofar no > problems surfaced. mhh, I assumed that the mime==null test is used such that you won't run into trouble if it were actually null. I don't know if that can happen, Dannes obviously thought it might be possible. In that case I think it is not sensible to call a function on mime (if it can be null). > No special tests performed, but EG a .html file now is "text/html" > instead of "text/html,text/xml", which is what I guess 99% of all > users want. There should not be any difference except when things go wrong. You have not tried my version, have you? I would expect it to do basically the same. The sanity check was inspired by the code of the old WebDAV implementation. cheers, Stefan |
From: Hungerburg <pc...@my...> - 2010-10-06 13:42:00
|
Am 2010-10-05 15:49, schrieb Stefan Majewski: > > Index: ExistCollection.java > =================================================================== > --- ExistCollection.java (revision 12870) > +++ ExistCollection.java (working copy) > @@ -360,6 +360,9 @@ > if (mime == null) { > mime = MimeType.BINARY_TYPE; > } > + else { > + contentType = mime.getName(); > + } > > > if (mime.isXMLType()) { I have changed ExistCollection.java in my local build to *unconditionally* set contentType = mime.getName() and sofar no problems surfaced. > if (mime == null) { > mime = MimeType.BINARY_TYPE; > } > + // overwrite the passed in contentType with a more reasonable one > + // in fact only the first of a sequence of mime-types > + contentType = mime.getName(); > No special tests performed, but EG a .html file now is "text/html" instead of "text/html,text/xml", which is what I guess 99% of all users want. Kind regards -- peter |
From: Evgeny G. <gaz...@gm...> - 2010-10-06 06:54:43
|
2010/10/6 <del...@us...> > Revision: 12882 > http://exist.svn.sourceforge.net/exist/?rev=12882&view=rev > Author: deliriumsky > Date: 2010-10-06 00:25:48 +0000 (Wed, 06 Oct 2010) > > Log Message: > ----------- > [feature] Allow multiple parameter values and complex parameters to be sent > to a trigger > > > Suggest make same for request attributes in urlrewriter -- Evgeny |
From: Stefan M. <ste...@un...> - 2010-10-05 21:06:24
|
Quite a while ago I wrote the message below. At that time I noticed that XQuery does not allow for look-aheads and look-behinds in regexes. Nonetheless, exist at that time used java regex syntax which allowed that. Obviously that has changed, as I get this error when migrating some patterns from 1.4 to current trunk. a call to matches() with an offending regex yields the following message: |Conversion from XPath2 to Java regular expression syntax failed: Error at character 2 in regular|| expression (\b)(test)(\b): invalid escape sequenc| This is just a stupid example, I know, but at some points lookahead/behind can be very handy. I am just wondering if there is any chance to get java regex behaviour back? I fear it is for some reason not possible, like standards conformance, indexes?. I guess I could find some kind of work-around. Anybody else stumbling over things like this? cheers, Stefan On 19/02/09 14:47, Stefan Majewski wrote: > I recently ran into the limitations of regexes in XSLT as according to > the official specifications there is no lookahead or similar mechanisms > allowed. This is very different to what would be allowed in Java's regex > engine, where constructs like \b (?= (?<= and the like are possible. > Saxon does, even though it is implemented in Java, adhere very strictly > to the standards and does consequently not allow these constructs. > > eXist nevertheless, does, even though this is not standard, allow for > these extensions. I can't see a problem in this, as the regex engine > still accepts everything that would be allowed by the XQuery/XPath specs > for match(), tokenize() and replace(). > > Nevertheless, now that I have moved portions of the logic outside of the > XSL transformation, I wonder whether eXist's behaviour is intended to > stay as it is or follow the saxon approach at one point and forbid > lookahead patterns? > > It would be nice if anyone could comment on this, as if it weren't the > case I would have to watch out and move it one day as a user-defined > functioninto my private module. > > best, > > Stefan > > -- | Stefan Majewski | Department of English, University of Vienna | | VOICE Corpus | Spitalgasse 2-4, Universitätscampus AAKH, Hof 8 | | | A-1090 Vienna | | Research Ass.(IT)| Phone: +43 1 4277 424 46 | |