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: Stanislav <st...@gm...> - 2018-09-26 15:43:16
|
Hi guys, I know that invoking *./build.sh test* runs all test, but is there a way to run only a specific group of tests ? (Asking this, because on my laptop it takes ~28 min. to run the complete test suite) /Stanislav |
From: Stanislav <st...@gm...> - 2018-09-11 19:49:39
|
Hi guys, Stanislav here (I am new to this list). It started with this: * [Exist-open] Are more elaborate xpath expressions allowed in Lucene's index config <text match='...'/> <https://sourceforge.net/p/exist/mailman/message/36392026/>* Then I went to clone, build and then debug/trace exist, and it turned out NodePath and QName are not suited to handle 'more elaborate xpath expressions' I started modifying them (locally). I introduced (a minimalist) change - namely that QName should honor its nameType which could be any of { UNKNOWN, ELEMENT, ATTRIBUTE } and changed QName.compareTo() and .equals() methods to compare also this field. Alas, this prevented exist from normal startup as line 214 of ConfigurationImpl.java consists of: Node attr = attrs.getNamedItem("key"); which in turn invokes NamedNodeMapImpl.getNamedItem(): @Override public Node getNamedItem(final String name) { try { return getNamedItem(new QName(name)); } catch (final QName.IllegalQNameException e) { throw new DOMException(DOMException.INVALID_CHARACTER_ERR, "Invalid name"); } } And the problem is the newly created new QName(name) has its nameType set (by default) to ELEMENT, while the one stored in the map is of nameType ATTRIBUTE -- and the newly modified QName.equals() method discerns between those two, as their nameType(s) are different. I am not sure what would be the right question in this situation, so I will try with: How come? Kindly, /Stanislav |
From: David L. <dav...@oe...> - 2018-09-06 17:07:44
|
Hi Adam, Firstly, thanks for the quick response. > I believe the mechanism used is typically to take the source code of the version you are using, and then build a version where the password checks are disabled. You then use that version to extract the data. Hahaha. Ok. Is that process described somewhere (or can you summarise)? or is there a grep/sed that might help me reconstruct it. > Coincidentally I just noticed you are in Oxford. I will be there next week for the XML Summer School at St. Edmund Hall. I might be able to spare an hour if I I could be of some assistance? Thanks for the offer. I’m in Oxford next Friday (otherwise, I’m in London), and in an ideal world, I’d have things working by then (and that day’s a bit crammed). If I can’t progress, though, I might just take you up on that! David > > On 6 September 2018 at 15:32, David Lewis <dav...@oe...> wrote: > I have an old install of exist-db (v2.2) on a headless Linux system that I’d like to get the data out from, and I can’t find the admin password. I have root command-line access. > > Is it possible to either change the password or get a data dump from the command line? > > Thanks, > > David > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > > > -- > Adam Retter > > eXist Core Developer > { United Kingdom / United States } > ad...@ex... |
From: Adam R. <ad...@ex...> - 2018-09-06 16:56:46
|
I believe the mechanism used is typically to take the source code of the version you are using, and then build a version where the password checks are disabled. You then use that version to extract the data. Coincidentally I just noticed you are in Oxford. I will be there next week for the XML Summer School at St. Edmund Hall. I might be able to spare an hour if I I could be of some assistance? On 6 September 2018 at 15:32, David Lewis <dav...@oe...> wrote: > I have an old install of exist-db (v2.2) on a headless Linux system that > I’d like to get the data out from, and I can’t find the admin password. I > have root command-line access. > > Is it possible to either change the password or get a data dump from the > command line? > > Thanks, > > David > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Core Developer { United Kingdom / United States } ad...@ex... |
From: David L. <dav...@oe...> - 2018-09-06 10:20:21
|
I have an old install of exist-db (v2.2) on a headless Linux system that I’d like to get the data out from, and I can’t find the admin password. I have root command-line access. Is it possible to either change the password or get a data dump from the command line? Thanks, David |
From: Loren C. <lor...@gm...> - 2018-07-31 04:04:42
|
I figured out that the problem that I had was due to the xqdoc extension in eXist-db. I had a conflict of classes. If you removed extensions/xqdoc from eXist-db (5.0 base) Perform mvn install on xqdoc-core and mvn package on xqDoc Install the xqDoc xar file Run the following in eXide xquery version "1.0"; import module namespace xqdoc = "https://xqdoc.org/exist-db/ns/xqDoc/my-java-module"; let $nl := " " let $test := fn:string-join( ( 'xquery version "1.0";', '', 'module namespace s="http://example.com/s";', '', 'declare function s:hello() as xs:string {', ' "hello world"', '};' ), $nl) return xqdoc:parse($test) Resulting in <?xml version="1.0" encoding="UTF-8"?> <xqdoc:xqdoc xmlns:xqdoc="http://www.xqdoc.org/1.0"> <xqdoc:control> <xqdoc:date>Mon Jul 30 21:43:23 EDT 2018</xqdoc:date> <xqdoc:version>1.1</xqdoc:version> </xqdoc:control> <xqdoc:module type="library"> <xqdoc:uri>http://example.com/s</xqdoc:uri> <xqdoc:name/> <xqdoc:body xml:space="preserve">xquery version "1.0"; module namespace s="http://example.com/s"; declare function s:hello() as xs:string { "hello world" }; </xqdoc:body> </xqdoc:module> <xqdoc:functions> <xqdoc:function> <xqdoc:name>hello</xqdoc:name> <xqdoc:signature>declare function hello() as xs:string</xqdoc:signature> <xqdoc:body xml:space="preserve">declare function s:hello() as xs:string{ "hello world" };</xqdoc:body> </xqdoc:function> </xqdoc:functions> </xqdoc:xqdoc> My plans are to move the functionality of the xqDoc extension into the xqDoc XAR file Come up with a structure to have the parsed xqDoc grouped by the individual applications as well as the shared scripts like FunctX. Rework the design of the fundocs Utilize the restxq annotations to create a swagger view Improve the function doc view utilizing called functions that are recorded in the xqDoc file to make a hyperlinks to the documentation for the called function http://demo.easymetahub.com:8005/get-module.xqy?module=http://simple.example.com <http://demo.easymetahub.com:8005/get-module.xqy?module=http://simple.example.com> Change it to a polymer2 application There is a need to come up with a comprehensive set of test cases for the xqdoc-core project, so that there is a thorough test of all XQuery 3.1 capabilities. I would like to get feedback from people to make sure that it is a comprehensive source documentation app. I would also like to get ideas of how to incorporate example code for the functions to show developers how to utilize the functions. I also remember talk of having the documentation of a function to utilize markdown in place of html. Loren |
From: Loren C. <lor...@gm...> - 2018-07-06 19:14:15
|
Status of xqDoc projects: xqdoc-core https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> Maven project for parsing XQuery scripts to xqDoc files. Duncan Paterson added connectivity to Travis. Test cases have been created to validate the code. More test cases need to be developed. Run mvn install to store the library in your local maven repository Documentation about the project needs to be created. xqDoc - eXist-db app https://github.com/lcahlander/xqDoc <https://github.com/lcahlander/xqDoc> Start of eXist-db EXPath package that includes xqdoc-core. Need to change the ExampleFunctions to parse an XQuery script and return an xqDoc file. Need to add the capability to scan all java classes to extract the xqDoc from the function modules Add an XQuery function module to scan all of the XQuery scripts within an app or all apps Create polymer web page for viewing xqDoc throughout the eXist-db database ml-xqdoc - MarkLogic implementation of xqDoc https://github.com/lcahlander/ml-xqDoc <https://github.com/lcahlander/ml-xqDoc> Need to plan an implementation using the xqdoc-core to process the xqDoc files from the sources. Request from group I would appreciate feedback from people to plan the progress of making xqDoc implemented throughout the XQuery sphere. All three repositories have a project setup for them. Thank you, Loren > On Jul 1, 2018, at 10:51 PM, Loren Cahlander <lor...@gm...> wrote: > > Here is the status of creating the xqdoc-core maven project. https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> > > The antler file under org.xqdoc.xquery.parser.jul2017 has all of the capabilities of the current MarkLogic implementation. I still need to add the parts of XQuery 3.1 that are not implemented in MarkLogic. > > For a proper Maven project, the testing capability needs to be implemented. > > I now have a successful testing of the processing of an XQuery source file to an xqdoc file comparing against a control document. > > Any XQuery in test/resources/XQuery has its xqDoc generated and compared against the control xqDoc file in test/resources/xqDoc. > > I only have a test agains the FunctX XQuery script. More scripts to come, including testing against the capabilities of XQuery 3.1. > > Once this finally passes muster, then I hope that it will be transferred to the EXQuery GitHub account. > > After that, I will create an xqDoc EXPath application for eXist-db that is dependent on the xqdoc-core project. > > > >> On Jun 29, 2018, at 1:16 PM, Adam Retter <ad...@ex... <mailto:ad...@ex...>> wrote: >> >> Loren, >> >> Probably best to start by writing a single JUnit test that works for one input query and compares the results against one xml file. Once you have that working, we can talk about how to abstract it to work for different inputs and outputs. >> >> On 28 June 2018 at 18:55, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >> Folks, >> >> I have not done any JUnit development in a long time. Can any of you let me know what type of test to develop? >> >> Here is the test resource structure: >> >> <PastedGraphic-1.png> >> >> What I want to do is run the xqDoc generator against each file in the test/resources/XQuery and compare it against its corresponding file in test/resources/xqDoc. Each document in the XQuery folder is an individual test and should have its own test result. >> >> Thanks for any help, >> Loren >> >>> On Jun 27, 2018, at 9:24 PM, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >>> >>> The xqDoc core library project is available at: https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> >>> >>> >>> TBD: >>> create the code to process and report the test cases >>> Create test cases and test what the test should generate >>> Move xqdoc-core to the EXQuery GitHub project >>> Register the project with the maven project >>> Develop an eXist EXPath function module that has a dependency on xqdoc-core >>> Develop a WAR project that has a dependency on xqdoc-core >>> >>> Below is the README >>> >>> xqdoc-core >>> >>> Core module to process XQuery code source to an xqDoc XML file >>> >>> <https://github.com/lcahlander/xqdoc-core#building>Building >>> >>> Run the command: mvn clean install assembly:single >>> >>> Dependencies >>> >>> antlr >>> commons-cli >>> Results >>> >>> target/xqdoc-core-0.8-jar-with-dependencies.jar >>> target/xqdoc-core-0.8.jar >>> ##Command Line Call >>> >>> java -jar xqdoc-core-0.8-jar-with-dependencies.jar -Dprefix=uri -Dprefix=uri -f filepath >>> >>> The prefix/uri combination is for the prefixes that are not needed in an import module namespace for the implementation. >>> >>> e.g. -Dfn=http://www.w3.org/2003/05/xpath-functions <http://www.w3.org/2003/05/xpath-functions> is for the default XPath function library. This prefix/namespace is included by default. >>> >>> The filepath is the path name to the file with the XQuery source. >>> >>> <https://github.com/lcahlander/xqdoc-core#calling-from-java>Calling from java >>> >>> HashMap uriMap = new HashMap(); >>> uriMap.put(XPathDriver.XPATH_PREFIX, XPathDriver.XPATH_URI); >>> InputStream is = Files.newInputStream(Paths.get(cmd.getOptionValue("f"))); >>> controller = new XQDocController(XQDocController.JUL2017); >>> controller.setPredefinedFunctionNamespaces(uriMap); >>> >>> XQDocPayload payload = controller.process(is, ""); >>> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); >>> DocumentBuilder db = dbf.newDocumentBuilder(); >>> InputSource isOut = new InputSource(); >>> isOut.setCharacterStream(new StringReader(payload.getXQDocXML())); >>> >>> Document doc = db.parse(isOut); >>> >>> >>> >>> >> >> >> >> >> -- >> Adam Retter >> >> eXist Core Developer >> { United Kingdom / United States } >> ad...@ex... <mailto:ad...@ex...> > |
From: Loren C. <lor...@gm...> - 2018-07-02 02:51:47
|
Here is the status of creating the xqdoc-core maven project. https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> The antler file under org.xqdoc.xquery.parser.jul2017 has all of the capabilities of the current MarkLogic implementation. I still need to add the parts of XQuery 3.1 that are not implemented in MarkLogic. For a proper Maven project, the testing capability needs to be implemented. I now have a successful testing of the processing of an XQuery source file to an xqdoc file comparing against a control document. Any XQuery in test/resources/XQuery has its xqDoc generated and compared against the control xqDoc file in test/resources/xqDoc. I only have a test agains the FunctX XQuery script. More scripts to come, including testing against the capabilities of XQuery 3.1. Once this finally passes muster, then I hope that it will be transferred to the EXQuery GitHub account. After that, I will create an xqDoc EXPath application for eXist-db that is dependent on the xqdoc-core project. > On Jun 29, 2018, at 1:16 PM, Adam Retter <ad...@ex...> wrote: > > Loren, > > Probably best to start by writing a single JUnit test that works for one input query and compares the results against one xml file. Once you have that working, we can talk about how to abstract it to work for different inputs and outputs. > > On 28 June 2018 at 18:55, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: > Folks, > > I have not done any JUnit development in a long time. Can any of you let me know what type of test to develop? > > Here is the test resource structure: > > <PastedGraphic-1.png> > > What I want to do is run the xqDoc generator against each file in the test/resources/XQuery and compare it against its corresponding file in test/resources/xqDoc. Each document in the XQuery folder is an individual test and should have its own test result. > > Thanks for any help, > Loren > >> On Jun 27, 2018, at 9:24 PM, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >> >> The xqDoc core library project is available at: https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> >> >> >> TBD: >> create the code to process and report the test cases >> Create test cases and test what the test should generate >> Move xqdoc-core to the EXQuery GitHub project >> Register the project with the maven project >> Develop an eXist EXPath function module that has a dependency on xqdoc-core >> Develop a WAR project that has a dependency on xqdoc-core >> >> Below is the README >> >> xqdoc-core >> >> Core module to process XQuery code source to an xqDoc XML file >> >> <https://github.com/lcahlander/xqdoc-core#building>Building >> >> Run the command: mvn clean install assembly:single >> >> Dependencies >> >> antlr >> commons-cli >> Results >> >> target/xqdoc-core-0.8-jar-with-dependencies.jar >> target/xqdoc-core-0.8.jar >> ##Command Line Call >> >> java -jar xqdoc-core-0.8-jar-with-dependencies.jar -Dprefix=uri -Dprefix=uri -f filepath >> >> The prefix/uri combination is for the prefixes that are not needed in an import module namespace for the implementation. >> >> e.g. -Dfn=http://www.w3.org/2003/05/xpath-functions <http://www.w3.org/2003/05/xpath-functions> is for the default XPath function library. This prefix/namespace is included by default. >> >> The filepath is the path name to the file with the XQuery source. >> >> <https://github.com/lcahlander/xqdoc-core#calling-from-java>Calling from java >> >> HashMap uriMap = new HashMap(); >> uriMap.put(XPathDriver.XPATH_PREFIX, XPathDriver.XPATH_URI); >> InputStream is = Files.newInputStream(Paths.get(cmd.getOptionValue("f"))); >> controller = new XQDocController(XQDocController.JUL2017); >> controller.setPredefinedFunctionNamespaces(uriMap); >> >> XQDocPayload payload = controller.process(is, ""); >> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); >> DocumentBuilder db = dbf.newDocumentBuilder(); >> InputSource isOut = new InputSource(); >> isOut.setCharacterStream(new StringReader(payload.getXQDocXML())); >> >> Document doc = db.parse(isOut); >> >> >> >> > > > > > -- > Adam Retter > > eXist Core Developer > { United Kingdom / United States } > ad...@ex... <mailto:ad...@ex...> |
From: Adam R. <ad...@ex...> - 2018-06-29 17:16:41
|
Loren, Probably best to start by writing a single JUnit test that works for one input query and compares the results against one xml file. Once you have that working, we can talk about how to abstract it to work for different inputs and outputs. On 28 June 2018 at 18:55, Loren Cahlander <lor...@gm...> wrote: > Folks, > > I have not done any JUnit development in a long time. Can any of you let > me know what type of test to develop? > > Here is the test resource structure: > > > What I want to do is run the xqDoc generator against each file in the > test/resources/XQuery and compare it against its corresponding file in > test/resources/xqDoc. Each document in the XQuery folder is an individual > test and should have its own test result. > > Thanks for any help, > Loren > > On Jun 27, 2018, at 9:24 PM, Loren Cahlander <lor...@gm...> > wrote: > > The xqDoc core library project is available at: https://github.com/ > lcahlander/xqdoc-core > > > TBD: > > 1. create the code to process and report the test cases > 2. Create test cases and test what the test should generate > 3. Move xqdoc-core to the EXQuery GitHub project > 4. Register the project with the maven project > 5. Develop an eXist EXPath function module that has a dependency on > xqdoc-core > 6. Develop a WAR project that has a dependency on xqdoc-core > > > Below is the README > > xqdoc-core > > Core module to process XQuery code source to an xqDoc XML file > <https://github.com/lcahlander/xqdoc-core#building>Building > > Run the command: mvn clean install assembly:single > > Dependencies > > - antlr > - commons-cli > > Results > > - target/xqdoc-core-0.8-jar-with-dependencies.jar > - target/xqdoc-core-0.8.jar > > ##Command Line Call > > java -jar xqdoc-core-0.8-jar-with-dependencies.jar -Dprefix=uri > -Dprefix=uri -f filepath > > The prefix/uri combination is for the prefixes that are not needed in an > import module namespace for the implementation. > > e.g. -Dfn=http://www.w3.org/2003/05/xpath-functions is for the default > XPath function library. This prefix/namespace is included by default. > > The *filepath* is the path name to the file with the XQuery source. > <https://github.com/lcahlander/xqdoc-core#calling-from-java>Calling from > java > > HashMap uriMap = new HashMap(); > uriMap.put(XPathDriver.XPATH_PREFIX, XPathDriver.XPATH_URI); > InputStream is = Files.newInputStream(Paths.get(cmd.getOptionValue("f"))); > controller = new XQDocController(XQDocController.JUL2017); > controller.setPredefinedFunctionNamespaces(uriMap); > > XQDocPayload payload = controller.process(is, ""); > DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); > DocumentBuilder db = dbf.newDocumentBuilder(); > InputSource isOut = new InputSource(); > isOut.setCharacterStream(new StringReader(payload.getXQDocXML())); > > Document doc = db.parse(isOut); > > > > > > > -- Adam Retter eXist Core Developer { United Kingdom / United States } ad...@ex... |
From: Loren C. <lor...@gm...> - 2018-06-28 15:04:25
|
I think I found what I am looking for. https://github.com/junit-team/junit4/wiki/Parameterized-tests <https://github.com/junit-team/junit4/wiki/Parameterized-tests> > On Jun 28, 2018, at 9:25 AM, Loren Cahlander <lor...@gm...> wrote: > > Folks, > > I have not done any JUnit development in a long time. Can any of you let me know what type of test to develop? > > Here is the test resource structure: > > <PastedGraphic-1.png> > > What I want to do is run the xqDoc generator against each file in the test/resources/XQuery and compare it against its corresponding file in test/resources/xqDoc. Each document in the XQuery folder is an individual test and should have its own test result. > > Thanks for any help, > Loren > >> On Jun 27, 2018, at 9:24 PM, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >> >> The xqDoc core library project is available at: https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> >> >> >> TBD: >> create the code to process and report the test cases >> Create test cases and test what the test should generate >> Move xqdoc-core to the EXQuery GitHub project >> Register the project with the maven project >> Develop an eXist EXPath function module that has a dependency on xqdoc-core >> Develop a WAR project that has a dependency on xqdoc-core >> >> Below is the README >> >> xqdoc-core >> >> Core module to process XQuery code source to an xqDoc XML file >> >> <https://github.com/lcahlander/xqdoc-core#building>Building >> >> Run the command: mvn clean install assembly:single >> >> Dependencies >> >> antlr >> commons-cli >> Results >> >> target/xqdoc-core-0.8-jar-with-dependencies.jar >> target/xqdoc-core-0.8.jar >> ##Command Line Call >> >> java -jar xqdoc-core-0.8-jar-with-dependencies.jar -Dprefix=uri -Dprefix=uri -f filepath >> >> The prefix/uri combination is for the prefixes that are not needed in an import module namespace for the implementation. >> >> e.g. -Dfn=http://www.w3.org/2003/05/xpath-functions <http://www.w3.org/2003/05/xpath-functions> is for the default XPath function library. This prefix/namespace is included by default. >> >> The filepath is the path name to the file with the XQuery source. >> >> <https://github.com/lcahlander/xqdoc-core#calling-from-java>Calling from java >> >> HashMap uriMap = new HashMap(); >> uriMap.put(XPathDriver.XPATH_PREFIX, XPathDriver.XPATH_URI); >> InputStream is = Files.newInputStream(Paths.get(cmd.getOptionValue("f"))); >> controller = new XQDocController(XQDocController.JUL2017); >> controller.setPredefinedFunctionNamespaces(uriMap); >> >> XQDocPayload payload = controller.process(is, ""); >> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); >> DocumentBuilder db = dbf.newDocumentBuilder(); >> InputSource isOut = new InputSource(); >> isOut.setCharacterStream(new StringReader(payload.getXQDocXML())); >> >> Document doc = db.parse(isOut); >> >> >> >> > |
From: Loren C. <lor...@gm...> - 2018-06-28 13:25:18
|
Folks, I have not done any JUnit development in a long time. Can any of you let me know what type of test to develop? Here is the test resource structure: What I want to do is run the xqDoc generator against each file in the test/resources/XQuery and compare it against its corresponding file in test/resources/xqDoc. Each document in the XQuery folder is an individual test and should have its own test result. Thanks for any help, Loren > On Jun 27, 2018, at 9:24 PM, Loren Cahlander <lor...@gm...> wrote: > > The xqDoc core library project is available at: https://github.com/lcahlander/xqdoc-core <https://github.com/lcahlander/xqdoc-core> > > > TBD: > create the code to process and report the test cases > Create test cases and test what the test should generate > Move xqdoc-core to the EXQuery GitHub project > Register the project with the maven project > Develop an eXist EXPath function module that has a dependency on xqdoc-core > Develop a WAR project that has a dependency on xqdoc-core > > Below is the README > > xqdoc-core > > Core module to process XQuery code source to an xqDoc XML file > > <https://github.com/lcahlander/xqdoc-core#building>Building > > Run the command: mvn clean install assembly:single > > Dependencies > > antlr > commons-cli > Results > > target/xqdoc-core-0.8-jar-with-dependencies.jar > target/xqdoc-core-0.8.jar > ##Command Line Call > > java -jar xqdoc-core-0.8-jar-with-dependencies.jar -Dprefix=uri -Dprefix=uri -f filepath > > The prefix/uri combination is for the prefixes that are not needed in an import module namespace for the implementation. > > e.g. -Dfn=http://www.w3.org/2003/05/xpath-functions <http://www.w3.org/2003/05/xpath-functions> is for the default XPath function library. This prefix/namespace is included by default. > > The filepath is the path name to the file with the XQuery source. > > <https://github.com/lcahlander/xqdoc-core#calling-from-java>Calling from java > > HashMap uriMap = new HashMap(); > uriMap.put(XPathDriver.XPATH_PREFIX, XPathDriver.XPATH_URI); > InputStream is = Files.newInputStream(Paths.get(cmd.getOptionValue("f"))); > controller = new XQDocController(XQDocController.JUL2017); > controller.setPredefinedFunctionNamespaces(uriMap); > > XQDocPayload payload = controller.process(is, ""); > DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); > DocumentBuilder db = dbf.newDocumentBuilder(); > InputSource isOut = new InputSource(); > isOut.setCharacterStream(new StringReader(payload.getXQDocXML())); > > Document doc = db.parse(isOut); > > > > |
From: Loren C. <lor...@gm...> - 2018-06-04 18:39:42
|
> Begin forwarded message: > > From: "McBeath, Darin W. (ELS-HBE)" <D.M...@el... <mailto:D.M...@el...>> > Subject: Re: Updating xqDoc to current XQuery versions 1.0-ml and 3.1 > Date: February 8, 2018 at 9:32:54 AM EST > To: Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> > > Hi Loren. > > I looked over your changes and they look reasonable to me. Thanks for improving the tool and providing your changes back to the community. I have not been active in the XQuery community for some time, my focus has shifted into big data processing (Spark) and some other technologies. One project you might be interested in (since you are still active in the XQuery space) is an open source tool that I wrote called spark-xml-utils (https://github.com/elsevierlabs-os/spark-xml-utils) <https://github.com/elsevierlabs-os/spark-xml-utils)>. At a high level, this encapsulates XPath, XQuery and XSLT that runs on Spark leverages Saxon under the covers. We use this quite a bit internally for transforming and processing content at scale when leveraging Spark. I have heard from others outside our organization that are using it as well. It’s a fairly quick (and inexpensive way) of transforming/querying content at scale. There is also a follow-on open source tool which I developed called AnnotationQuery. I recently co-authored a paper (https://arxiv.org/abs/1802.00728 <https://arxiv.org/abs/1802.00728> ) you might be interested in reading. > > Darin. > |
From: Loren C. <lor...@gm...> - 2018-06-04 18:38:11
|
> Begin forwarded message: > > From: "McBeath, Darin W. (ELS-HBE)" <D.M...@el...> > Subject: Re: Updating xqDoc to current XQuery versions 1.0-ml and 3.1 > Date: February 8, 2018 at 9:32:54 AM EST > To: Loren Cahlander <lor...@gm...> > > Hi Loren. > > I looked over your changes and they look reasonable to me. Thanks for improving the tool and providing your changes back to the community. I have not been active in the XQuery community for some time, my focus has shifted into big data processing (Spark) and some other technologies. One project you might be interested in (since you are still active in the XQuery space) is an open source tool that I wrote called spark-xml-utils (https://github.com/elsevierlabs-os/spark-xml-utils) <https://github.com/elsevierlabs-os/spark-xml-utils)>. At a high level, this encapsulates XPath, XQuery and XSLT that runs on Spark leverages Saxon under the covers. We use this quite a bit internally for transforming and processing content at scale when leveraging Spark. I have heard from others outside our organization that are using it as well. It’s a fairly quick (and inexpensive way) of transforming/querying content at scale. There is also a follow-on open source tool which I developed called AnnotationQuery. I recently co-authored a paper (https://arxiv.org/abs/1802.00728 <https://arxiv.org/abs/1802.00728> ) you might be interested in reading. > > Darin. > > From: Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> > Date: Tuesday, February 6, 2018 at 1:06 PM > To: Darin McBeath <D.M...@el... <mailto:D.M...@el...>>, Darin McBeath <ddm...@ya... <mailto:ddm...@ya...>> > Cc: Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> > Subject: Fwd: Updating xqDoc to current XQuery versions 1.0-ml and 3.1 > > *** External email: use caution *** > > > > Darin, > > What do you think about the update? I know that you have not been active on xqDoc, but I would like your input. > > Thanks, > Loren > > >> Begin forwarded message: >> >> From: Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> >> Subject: Re: Updating xqDoc to current XQuery versions 1.0-ml and 3.1 >> Date: February 6, 2018 at 11:59:08 AM EST >> To: Florent Georges <fge...@gm... <mailto:fge...@gm...>>, Florent Georges <fge...@fg... <mailto:fge...@fg...>>, Adam Retter <ad...@ex... <mailto:ad...@ex...>> >> Cc: Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> >> >> I have what I think is a proper EXPath module for generating xqDoc (http://xqdoc.org <http://xqdoc.org/>) from XQuery source. >> >> It is at https://github.com/lcahlander/xqDoc-parse <https://github.com/lcahlander/xqDoc-parse> >> >> Can you folks take a look at it? What should I be using for a test environment? I am trying to make this implementation independent. Am I doing it correctly? >> >> I am sure that I will need to make updates to the ANTLR2 file, but I just want to get it working with MarkLogic and eXist. >> >> >> >> Thanks, >> Loren >> >> >> >>> On Feb 5, 2018, at 11:27 AM, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >>> >>> Florent, >>> >>> I got feedback from Adam Retter for creating a java EXPath module for eXist-dB. I am looking at creating a java EXPath module for all platforms. >>> >>> Can you send me a dummy EXPath module development environment so that I can create a general purpose xqDoc module? >>> >>> Thanks, >>> >>> Loren Cahlander >>> >>> On Jan 11, 2018, at 2:06 PM, Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >>> >>>> I had previously been working on the xqDoc ANTLR and Java code to handle the changes to the XQuery language. The codebase that I downloaded included the invoked functions and the referred to variables. >>>> >>>> I have added annotations as well as some of the XQuery 3.1 additions into the antler file https://github.com/lcahlander/xqDoc/blob/master/src/org/xqdoc/xquery/parser/jul2017/XQuery.g <https://github.com/lcahlander/xqDoc/blob/master/src/org/xqdoc/xquery/parser/jul2017/XQuery.g> >>>> >>>> It requires the antlr-2.7.5 jar file. >>>> >>>> I have checked in the code at https://github.com/lcahlander/xqDoc <https://github.com/lcahlander/xqDoc> >>>> >>>> It would be good to have test case XQuery files to run the parser against so that it handles all of the enhancements to the language. >>>> >>>> I think that it needs to become an EXPath module. >>>> >>>> I would like feedback from folks. >>>> >> >> > > |
From: Adam R. <ad...@ex...> - 2018-01-11 20:51:11
|
The replication in eXist as it is works using JMS and an appropriate Message Broker Service (typically Apache ActiveMQ) is used. If you want to do HA, you would need to add some mechanics: 1. A mechanism for discovering a dead-master 2. A mechanism for promoting a slave to a master (and likely reconfiguring some JMS stuff) 3. I could only see this working with READ access. If the writable master crashes, I have no idea how you would continue the writes on a slave-which-was-promoted-to-master with eXist. How to maintain database integrity? On 9 January 2018 at 13:44, Akram Ben Aissi <akr...@gm...> wrote: > Hi all, > > The eXist-db documentation states that eXists is for now single server, > and that it supports data replication in master-slave mode. > > > I want to build a Highly-Available cluster for eXist. Is there any > possibility to make the data replication use an elected master ? > The idea behind is to integrate it with zookeeper, unless someone did > already the job. > > Do you have any other feedback about eXist in HA architecture ? > > Akram > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Adam Retter eXist Core Developer { United Kingdom / United States } ad...@ex... |
From: Akram B. A. <akr...@gm...> - 2018-01-09 13:44:37
|
Hi all, The eXist-db documentation states that eXists is for now single server, and that it supports data replication in master-slave mode. I want to build a Highly-Available cluster for eXist. Is there any possibility to make the data replication use an elected master ? The idea behind is to integrate it with zookeeper, unless someone did already the job. Do you have any other feedback about eXist in HA architecture ? Akram |
From: Joe W. <jo...@gm...> - 2017-10-23 02:33:18
|
To the eXist Core Developers, Leif-Jöran suggested that calls every two weeks should be attended by a quorum of core developers. Tomorrow's call (Mon Oct 23) is the next such meeting. Please arrange amongst yourselves to ensure a quorum attends tomorrow's call and calls every two weeks henceforth. Of course, all are invited and encouraged to attend every week. Joe ---------- Forwarded message ---------- From: Joe Wicentowski <jo...@gm...> Date: Sun, Oct 22, 2017 at 10:18 PM Subject: Fwd: Reminder: eXist Community Call - Monday, October 23, 18:30 UTC To: "exi...@li..." <exi...@li...> Hi all, [Sorry, hit send a bit too early there. Please disregard the last email (which had some typos about the date/time for the call in the body of the email and was missing the HipChat link) and use the information in this one.] Please join us for the next eXist Community Call. These calls are held weekly at the same time: Time: Monday, October 23, 2017, 18:30-19:30 UTC (11:30am US Pacific, 2:30pm US Eastern, 7:30pm UK, 8:30pm CET). The agenda is open and editable by all, so please contribute your items: https://docs.google.com/document/d/1J1CpoThHWVov_8csN6RDoeZS _KFbgVWeOSKzkvu6LbQ/edit?usp=sharing You may find it useful to join the eXist-db HipChat room prior to/during the call. If you have not joined, please follow this link: https://existdb.hipchat.com/invite/300223/6ea0341b23fa1cf8390a23592b4b2c39 Notes from all past Community Calls and the list of ideas for future calls are available in the Community Call folder: https://drive.google.com/open?id=0B4NLNdpw86LPc2JsV294NDFfTjQ Joe |
From: Adam R. <ad...@ex...> - 2017-10-19 16:29:29
|
I just wanted to bring to the attention of the developers a Transaction DSL (Domain Specific Language) I created for writing Transaction Tests for eXist-db. I am using this in Granite, but feel that it has value for eXist-db as well, so am contributing it back. I needed a way of being able to very simply and clearly describe a schedule of operations across transactions, and then have that schedule executed where each transaction is a distinct thread. To solve this I created the TransactionTestDSL which you can find here: https://github.com/adamretter/exist/blob/fbbb5f61d9220203dda410838a044737cd4c9211/test/src/org/exist/test/TransactionTestDSL.java#L54 The purpose of the TransactionTestDSL is to allow the user to describe an absolute schedule of transactional operations using as little plain-english like code as possible. The idea being that a user or developer should be able to just glance at the coded schedule and clearly understand the transactions involved and order of execution. At present the DSL provides a transaction scheduler that will allow you to work with two concurrent transactions (BiTransactionSchedule). If required this could be extended in future to work with more 2+n concurrent transactions. So far, in my experience, two concurrent transactions of which you can control the operational scheduling of, is often enough to show ACID semantics or violations and/or concurrency issues. An example of using the DSL for a test where two transactions retrieve a document: @Test public void getDocuments() throws ExecutionException, InterruptedException { final String documentUri = "/db/test/hamlet.xml"; final Tuple2<DocumentImpl, DocumentImpl> result = biSchedule() .firstT1(getDocument(documentUri)) .andThenT2(getDocument(documentUri)) .andThenT1(commit()) .andThenT2(commit()) .build() .execute(existEmbeddedServer.getBrokerPool(), EXECUTION_LISTENER); // check results assertNotNull(result); assertNotNull(result._1); assertNotNull(result._2); assertEquals(documentUri, result._1.getURI().getCollectionPath()); assertEquals(documentUri, result._2.getURI().getCollectionPath()); } There are various utility operations that you can schedule on a transaction in org.exist.test.TransactionTestDSL.TransactionOperation. As the API is functional, these operations can also be composed with other existing operations or with your own functions. You can of course also write your own TransactionOperation functions to be scheduled or composed with the provided operations. For example, if you want to get more than one document, you could write a TransactionOperation like andGetDocument: static <T> TransactionOperation<T, Tuple2<T, DocumentImpl>> andGetDocument(final String uri) { return (broker, txn, listener, t) -> new Tuple2<>(t, getDocument(uri).apply(broker, txn, listener, t)); } which you could compose with getDocument like so: getDocument(uri1).andThen(andGetDocument(uri1)) However, a better approach for this trite example would be to use the more generic TransactionOperation#with, which would compose like so: getDocument(uri1).with(getDocument(uri2)) I hope that this DSL proves useful to other eXist-db developers as well. I plan to add many more tests around transactions in eXist-db in an effort to help both document the transaction properties of eXist-db, and assist me in completing my locking rewrite. As I do so, I will add any missing functionality to the TransactionTestDSL. If you would like any help understanding or using the TransactionTestDSL please just ask :-) -- Adam Retter eXist Core Developer { United Kingdom / United States } ad...@ex... |
From: Wolfgang M. <wol...@ex...> - 2017-09-06 08:31:16
|
Alejandro, > I see the merge to develop so my question now is: when will this patch be applied to the next stable release? Or we can download and compile from develop? Is it stable enough for production? if it has been merged, it will go into the next stable release. For the moment it should be save to compile from current develop, though I would not recommend to rely on it for production long term as things may break during development. If needed create a patched version based on the 3.4.1 tag. Best, Wolfgang |
From: Alejandro G. G. <ale...@in...> - 2017-09-06 08:02:32
|
Thanks Wolfgang, I see the merge to develop so my question now is: when will this patch be applied to the next stable release? Or we can download and compile from develop? Is it stable enough for production? Best regards. 2017-09-04 20:55 GMT+02:00 Wolfgang Meier <wol...@ex...>: > Alejandro, > > see https://github.com/eXist-db/exist/pull/1538 > > Note for the future: the correct place to report general eXist bugs is the > public issue tracker on https://github.com/eXist-db/exist/issues. > > Best, > > Wolfgang > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Alejandro Gonzalez Gutierrez Consultant santander t: ES +34942284639 t: NL +31172700547 *w: * www.incentro.com santander office luis riera vega 10 | santander 39012 | spain [image: incentro] <http://www.incentro.com> <https://www.incentro.com/es/?utm_source=e-mail&utm_medium=e-mailbanner&utm_campaign=E-mailbanner%20kom%20kletsen&utm_content=Santander> |
From: Wolfgang M. <wol...@ex...> - 2017-09-04 18:55:47
|
Alejandro, see https://github.com/eXist-db/exist/pull/1538 <https://github.com/eXist-db/exist/pull/1538> Note for the future: the correct place to report general eXist bugs is the public issue tracker on https://github.com/eXist-db/exist/issues <https://github.com/eXist-db/exist/issues>. Best, Wolfgang |
From: Alejandro G. G. <ale...@in...> - 2017-09-04 09:01:49
|
Hi Adam, And thanks for the quick reaction. I've received an email notifying the opening of the ticket *#81058 *regarding this issue, although I can't access to check the status though with the details provided: Your request *(Ticket#81058)* has been received and will be reviewed by our support staff. To provide additional information, please reply to this email or click on the following link (for initial login, please request a new password): http://admin.exist-db.org/#ticket/zoom/58 Your eXistdb Helpdesk Team *Zammad <https://zammad.com/>, your customer support system* Apparently the SSL certificate is not valid and my browser doesn't follow the redirect. On the other hand, I'm not sure if I've a user account (with this same email address maybe?) Regards, Alejandro 2017-09-01 15:57 GMT+02:00 Adam Retter <ad...@ex...>: > This sounds like a bug to me, can you open an issue on the GitHub please? > I suspect it is related to the auto indexing of xml:id and xml:idref that > we do. > > On 31 August 2017 at 03:17, Alejandro González Gutiérrez < > ale...@in...> wrote: > >> Testing a custom API in eXistdb 3.4.1 I've found an issue related to the >> XQuery update extension module. When we perform a query like: >> >> update value $doc/icom:*/@id with $id >> >> >> The result is an unhandled exception like: >> >> 2017-08-29 14:29:45,642 [qtp510673578-36] ERROR (XQueryServlet.java >> [process]:534) - null >> java.lang.NullPointerException: null >> at org.exist.dom.persistent.StoredNode.getParentNode(StoredNode.java:245) >> ~[exist.jar:3.4.1] >> at org.exist.dom.persistent.StoredNode.getPath(StoredNode.java:384) >> ~[exist.jar:3.4.1] >> at org.exist.indexing.lucene.LuceneIndexWorker.getReindexRoot(LuceneIndexWorker.java:244) >> ~[exist-index-lucene.jar:3.4.1] >> at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:274) >> ~[exist.jar:3.4.1] >> at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:258) >> ~[exist.jar:3.4.1] >> at org.exist.dom.persistent.ElementImpl.updateChild(ElementImpl.java:1391) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.update.Update.eval(Update.java:170) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:74) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:74) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.PathExpr.eval(PathExpr.java:276) ~[exist.jar:3.4.1] >> at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) >> ~[exist.jar:3.4.1] >> at org.exist.xquery.XQuery.execute(XQuery.java:253) ~[exist.jar:3.4.1] >> at org.exist.xquery.XQuery.execute(XQuery.java:185) ~[exist.jar:3.4.1] >> at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:470) >> [exist-optional.jar:3.4.1] >> at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:191) >> [exist-optional.jar:3.4.1] >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) >> [servlet-api-3.1.jar:3.1.0] >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) >> [servlet-api-3.1.jar:3.1.0] >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) >> [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) >> [exist-optional.jar:3.4.1] >> at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:545) >> [exist-optional.jar:3.4.1] >> at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:349) >> [exist-optional.jar:3.4.1] >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) >> [servlet-api-3.1.jar:3.1.0] >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) >> [betterform-exist-5.1-SNAPSHOT-20160615.jar:?] >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >> [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) >> [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.ContextHandlerCollection.ha >> ndle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517. >> jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:396) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.Server.handle(Server.java:524) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) >> [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeed >> ed(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar: >> 9.3.9.v20160517] >> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) >> [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) >> [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume >> .executeProduceConsume(ExecuteProduceConsume.java:303) >> [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume >> .produceConsume(ExecuteProduceConsume.java:148) >> [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume >> .run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.ja >> r:9.3.9.v20160517] >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) >> [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] >> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) >> [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] >> at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] >> >> >> And the running script stops executing without further details. After >> some tests, I've found that this is caused because we're trying to update >> an attribute in our custom XML namespace, but If I apply the same operation >> on a document in the default XML namespace, everything works correctly. >> >> Is this a known bug? Is it a bad use from our end? >> >> Thanks, >> -- >> >> Alejandro Gonzalez Gutierrez >> Consultant santander >> >> t: ES +34942284639 >> >> t: NL +31172700547 >> >> *w: * www.incentro.com >> santander office >> luis riera vega 10 | santander 39012 | spain >> >> [image: incentro] <http://www.incentro.com> >> >> >> <https://www.incentro.com/es/?utm_source=e-mail&utm_medium=e-mailbanner&utm_campaign=E-mailbanner%20kom%20kletsen&utm_content=Santander> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Exist-development mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-development >> >> > > > -- > Adam Retter > > eXist Core Developer > { United Kingdom / United States } > ad...@ex... > -- Alejandro Gonzalez Gutierrez Consultant santander t: ES +34942284639 t: NL +31172700547 *w: * www.incentro.com santander office luis riera vega 10 | santander 39012 | spain [image: incentro] <http://www.incentro.com> <https://www.incentro.com/es/?utm_source=e-mail&utm_medium=e-mailbanner&utm_campaign=E-mailbanner%20kom%20kletsen&utm_content=Santander> |
From: Adam R. <ad...@ex...> - 2017-09-01 13:57:13
|
This sounds like a bug to me, can you open an issue on the GitHub please? I suspect it is related to the auto indexing of xml:id and xml:idref that we do. On 31 August 2017 at 03:17, Alejandro González Gutiérrez < ale...@in...> wrote: > Testing a custom API in eXistdb 3.4.1 I've found an issue related to the > XQuery update extension module. When we perform a query like: > > update value $doc/icom:*/@id with $id > > > The result is an unhandled exception like: > > 2017-08-29 14:29:45,642 [qtp510673578-36] ERROR (XQueryServlet.java > [process]:534) - null > java.lang.NullPointerException: null > at org.exist.dom.persistent.StoredNode.getParentNode(StoredNode.java:245) > ~[exist.jar:3.4.1] > at org.exist.dom.persistent.StoredNode.getPath(StoredNode.java:384) > ~[exist.jar:3.4.1] > at org.exist.indexing.lucene.LuceneIndexWorker.getReindexRoot(LuceneIndexWorker.java:244) > ~[exist-index-lucene.jar:3.4.1] > at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:274) > ~[exist.jar:3.4.1] > at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:258) > ~[exist.jar:3.4.1] > at org.exist.dom.persistent.ElementImpl.updateChild(ElementImpl.java:1391) > ~[exist.jar:3.4.1] > at org.exist.xquery.update.Update.eval(Update.java:170) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) > ~[exist.jar:3.4.1] > at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:74) > ~[exist.jar:3.4.1] > at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) > ~[exist.jar:3.4.1] > at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) > ~[exist.jar:3.4.1] > at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) > ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) > ~[exist.jar:3.4.1] > at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:74) > ~[exist.jar:3.4.1] > at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) > ~[exist.jar:3.4.1] > at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) > ~[exist.jar:3.4.1] > at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) > ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) > ~[exist.jar:3.4.1] > at org.exist.xquery.PathExpr.eval(PathExpr.java:276) ~[exist.jar:3.4.1] > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) > ~[exist.jar:3.4.1] > at org.exist.xquery.XQuery.execute(XQuery.java:253) ~[exist.jar:3.4.1] > at org.exist.xquery.XQuery.execute(XQuery.java:185) ~[exist.jar:3.4.1] > at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:470) > [exist-optional.jar:3.4.1] > at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:191) > [exist-optional.jar:3.4.1] > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > [servlet-api-3.1.jar:3.1.0] > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > [servlet-api-3.1.jar:3.1.0] > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) > [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) > [exist-optional.jar:3.4.1] > at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:545) > [exist-optional.jar:3.4.1] > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:349) > [exist-optional.jar:3.4.1] > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > [servlet-api-3.1.jar:3.1.0] > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) > [betterform-exist-5.1-SNAPSHOT-20160615.jar:?] > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) > [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.ContextHandlerCollection.ha > ndle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517. > jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:396) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.Server.handle(Server.java:524) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) > [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.io.AbstractConnection$ReadCallback. > succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar: > 9.3.9.v20160517] > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) > [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) > [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume > .executeProduceConsume(ExecuteProduceConsume.java:303) > [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume > .produceConsume(ExecuteProduceConsume.java:148) > [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume > .run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.ja > r:9.3.9.v20160517] > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) > [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) > [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] > at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] > > > And the running script stops executing without further details. After some > tests, I've found that this is caused because we're trying to update an > attribute in our custom XML namespace, but If I apply the same operation on > a document in the default XML namespace, everything works correctly. > > Is this a known bug? Is it a bad use from our end? > > Thanks, > -- > > Alejandro Gonzalez Gutierrez > Consultant santander > > t: ES +34942284639 > > t: NL +31172700547 > > *w: * www.incentro.com > santander office > luis riera vega 10 | santander 39012 | spain > > [image: incentro] <http://www.incentro.com> > > > <https://www.incentro.com/es/?utm_source=e-mail&utm_medium=e-mailbanner&utm_campaign=E-mailbanner%20kom%20kletsen&utm_content=Santander> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Adam Retter eXist Core Developer { United Kingdom / United States } ad...@ex... |
From: Alejandro G. G. <ale...@in...> - 2017-08-31 07:50:21
|
Testing a custom API in eXistdb 3.4.1 I've found an issue related to the XQuery update extension module. When we perform a query like: update value $doc/icom:*/@id with $id The result is an unhandled exception like: 2017-08-29 14:29:45,642 [qtp510673578-36] ERROR (XQueryServlet.java [process]:534) - null java.lang.NullPointerException: null at org.exist.dom.persistent.StoredNode.getParentNode(StoredNode.java:245) ~[exist.jar:3.4.1] at org.exist.dom.persistent.StoredNode.getPath(StoredNode.java:384) ~[exist.jar:3.4.1] at org.exist.indexing.lucene.LuceneIndexWorker.getReindexRoot(LuceneIndexWorker.java:244) ~[exist-index-lucene.jar:3.4.1] at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:274) ~[exist.jar:3.4.1] at org.exist.indexing.IndexController.getReindexRoot(IndexController.java:258) ~[exist.jar:3.4.1] at org.exist.dom.persistent.ElementImpl.updateChild(ElementImpl.java:1391) ~[exist.jar:3.4.1] at org.exist.xquery.update.Update.eval(Update.java:170) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) ~[exist.jar:3.4.1] at org.exist.xquery.DynamicCardinalityCheck.eval( DynamicCardinalityCheck.java:74) ~[exist.jar:3.4.1] at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) ~[exist.jar:3.4.1] at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) ~[exist.jar:3.4.1] at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:156) ~[exist.jar:3.4.1] at org.exist.xquery.DynamicCardinalityCheck.eval( DynamicCardinalityCheck.java:74) ~[exist.jar:3.4.1] at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) ~[exist.jar:3.4.1] at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:302) ~[exist.jar:3.4.1] at org.exist.xquery.FunctionCall.eval(FunctionCall.java:223) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:99) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.LetExpr.eval(LetExpr.java:111) ~[exist.jar:3.4.1] at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) ~[exist.jar:3.4.1] at org.exist.xquery.PathExpr.eval(PathExpr.java:276) ~[exist.jar:3.4.1] at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) ~[exist.jar:3.4.1] at org.exist.xquery.XQuery.execute(XQuery.java:253) ~[exist.jar:3.4.1] at org.exist.xquery.XQuery.execute(XQuery.java:185) ~[exist.jar:3.4.1] at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:470) [exist-optional.jar:3.4.1] at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:191) [exist-optional.jar:3.4.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-3.1.jar:3.1.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [servlet-api-3.1.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.session.SessionHandler. doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandler. doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.session.SessionHandler. doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandler. doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) [exist-optional.jar:3.4.1] at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:545) [exist-optional.jar:3.4.1] at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:349) [exist-optional.jar:3.4.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [servlet-api-3.1.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java:1689) [jetty-servlet-9.3.9. v20160517.jar:9.3.9.v20160517] at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) [betterform-exist-5.1-SNAPSHOT-20160615.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java:1668) [jetty-servlet-9.3.9. v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.session.SessionHandler. doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandler. doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.session.SessionHandler. doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandler. doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle( ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.HandlerCollection. handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:396) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume. executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume. produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run( ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517. jar:9.3.9.v20160517] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] And the running script stops executing without further details. After some tests, I've found that this is caused because we're trying to update an attribute in our custom XML namespace, but If I apply the same operation on a document in the default XML namespace, everything works correctly. Is this a known bug? Is it a bad use from our end? Thanks, -- Alejandro Gonzalez Gutierrez Consultant santander t: ES +34942284639 t: NL +31172700547 *w: * www.incentro.com santander office luis riera vega 10 | santander 39012 | spain [image: incentro] <http://www.incentro.com> <https://www.incentro.com/es/?utm_source=e-mail&utm_medium=e-mailbanner&utm_campaign=E-mailbanner%20kom%20kletsen&utm_content=Santander> |
From: Masoud V. <ma...@gm...> - 2017-07-31 08:25:34
|
hi all; by searching, i found a new way for install exist-db in command line: java -jar exist-db-setup.jar -options /home/foo/options.txt and in options.txt: INSTALL_PATH=/opt/existdb I want to have a complete list of this options, such as: INSTALL_PATH thank you very much. |
From: Dannes W. <da...@ex...> - 2017-04-30 09:08:12
|
Hi, A security notice was posted by Atlassian regarding “guest access” to the chatrooms. A a result all access was revoked. Please re-join via https://www.hipchat.com/gLp8PXSA0 <https://www.hipchat.com/gLp8PXSA0> . more info on https://blog.hipchat.com/2017/04/27/hipchat-security-notice-followup/ <https://blog.hipchat.com/2017/04/27/hipchat-security-notice-followup/> regards Dannes |