You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(31) |
Nov
(25) |
Dec
(33) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(48) |
Feb
(62) |
Mar
(22) |
Apr
(29) |
May
(9) |
Jun
(45) |
Jul
(28) |
Aug
(41) |
Sep
(60) |
Oct
(96) |
Nov
(99) |
Dec
(70) |
| 2003 |
Jan
(98) |
Feb
(159) |
Mar
(164) |
Apr
(150) |
May
(143) |
Jun
(97) |
Jul
(184) |
Aug
(143) |
Sep
(207) |
Oct
(126) |
Nov
(159) |
Dec
(165) |
| 2004 |
Jan
(131) |
Feb
(229) |
Mar
(220) |
Apr
(212) |
May
(320) |
Jun
(223) |
Jul
(191) |
Aug
(390) |
Sep
(261) |
Oct
(229) |
Nov
(215) |
Dec
(184) |
| 2005 |
Jan
(221) |
Feb
(312) |
Mar
(336) |
Apr
(273) |
May
(359) |
Jun
(277) |
Jul
(303) |
Aug
(321) |
Sep
(256) |
Oct
(415) |
Nov
(428) |
Dec
(508) |
| 2006 |
Jan
(585) |
Feb
(419) |
Mar
(496) |
Apr
(296) |
May
(403) |
Jun
(404) |
Jul
(553) |
Aug
(296) |
Sep
(252) |
Oct
(416) |
Nov
(414) |
Dec
(245) |
| 2007 |
Jan
(354) |
Feb
(422) |
Mar
(389) |
Apr
(298) |
May
(397) |
Jun
(318) |
Jul
(315) |
Aug
(339) |
Sep
(253) |
Oct
(317) |
Nov
(350) |
Dec
(264) |
| 2008 |
Jan
(353) |
Feb
(313) |
Mar
(433) |
Apr
(383) |
May
(343) |
Jun
(355) |
Jul
(321) |
Aug
(338) |
Sep
(242) |
Oct
(206) |
Nov
(199) |
Dec
(279) |
| 2009 |
Jan
(327) |
Feb
(221) |
Mar
(280) |
Apr
(278) |
May
(237) |
Jun
(345) |
Jul
(322) |
Aug
(324) |
Sep
(676) |
Oct
(586) |
Nov
(735) |
Dec
(329) |
| 2010 |
Jan
(619) |
Feb
(424) |
Mar
(529) |
Apr
(241) |
May
(312) |
Jun
(554) |
Jul
(698) |
Aug
(576) |
Sep
(408) |
Oct
(268) |
Nov
(391) |
Dec
(426) |
| 2011 |
Jan
(629) |
Feb
(512) |
Mar
(465) |
Apr
(467) |
May
(475) |
Jun
(403) |
Jul
(426) |
Aug
(542) |
Sep
(418) |
Oct
(620) |
Nov
(614) |
Dec
(358) |
| 2012 |
Jan
(357) |
Feb
(466) |
Mar
(344) |
Apr
(215) |
May
(408) |
Jun
(375) |
Jul
(241) |
Aug
(260) |
Sep
(401) |
Oct
(461) |
Nov
(498) |
Dec
(294) |
| 2013 |
Jan
(453) |
Feb
(447) |
Mar
(434) |
Apr
(326) |
May
(295) |
Jun
(471) |
Jul
(463) |
Aug
(278) |
Sep
(525) |
Oct
(343) |
Nov
(389) |
Dec
(405) |
| 2014 |
Jan
(564) |
Feb
(324) |
Mar
(319) |
Apr
(319) |
May
(384) |
Jun
(259) |
Jul
(210) |
Aug
(219) |
Sep
(315) |
Oct
(478) |
Nov
(207) |
Dec
(316) |
| 2015 |
Jan
(222) |
Feb
(234) |
Mar
(201) |
Apr
(145) |
May
(367) |
Jun
(318) |
Jul
(195) |
Aug
(210) |
Sep
(234) |
Oct
(248) |
Nov
(217) |
Dec
(189) |
| 2016 |
Jan
(219) |
Feb
(177) |
Mar
(110) |
Apr
(91) |
May
(159) |
Jun
(124) |
Jul
(192) |
Aug
(119) |
Sep
(125) |
Oct
(64) |
Nov
(80) |
Dec
(68) |
| 2017 |
Jan
(156) |
Feb
(312) |
Mar
(386) |
Apr
(217) |
May
(89) |
Jun
(115) |
Jul
(79) |
Aug
(122) |
Sep
(100) |
Oct
(99) |
Nov
(129) |
Dec
(77) |
| 2018 |
Jan
(106) |
Feb
(78) |
Mar
(160) |
Apr
(73) |
May
(110) |
Jun
(160) |
Jul
(93) |
Aug
(92) |
Sep
(75) |
Oct
(147) |
Nov
(114) |
Dec
(97) |
| 2019 |
Jan
(141) |
Feb
(78) |
Mar
(158) |
Apr
(60) |
May
(123) |
Jun
(54) |
Jul
(44) |
Aug
(147) |
Sep
(117) |
Oct
(54) |
Nov
(74) |
Dec
(96) |
| 2020 |
Jan
(113) |
Feb
(125) |
Mar
(142) |
Apr
(57) |
May
(71) |
Jun
(99) |
Jul
(58) |
Aug
(81) |
Sep
(49) |
Oct
(50) |
Nov
(63) |
Dec
(37) |
| 2021 |
Jan
(37) |
Feb
(45) |
Mar
(39) |
Apr
(18) |
May
(14) |
Jun
(9) |
Jul
(44) |
Aug
(23) |
Sep
(13) |
Oct
(31) |
Nov
(13) |
Dec
(33) |
| 2022 |
Jan
(17) |
Feb
(8) |
Mar
(32) |
Apr
(7) |
May
(17) |
Jun
(7) |
Jul
(36) |
Aug
(29) |
Sep
(9) |
Oct
(20) |
Nov
(10) |
Dec
(1) |
| 2023 |
Jan
(30) |
Feb
(37) |
Mar
(23) |
Apr
(1) |
May
(14) |
Jun
(5) |
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
(48) |
Nov
(4) |
Dec
(29) |
| 2024 |
Jan
(1) |
Feb
|
Mar
(21) |
Apr
(6) |
May
(16) |
Jun
(41) |
Jul
(11) |
Aug
(17) |
Sep
(16) |
Oct
(11) |
Nov
(3) |
Dec
(9) |
| 2025 |
Jan
(7) |
Feb
(7) |
Mar
(6) |
Apr
(6) |
May
(30) |
Jun
(8) |
Jul
(10) |
Aug
(4) |
Sep
(10) |
Oct
(32) |
Nov
(3) |
Dec
|
|
From: Jean-Paul R. <re...@gm...> - 2023-12-16 00:09:21
|
Hi Ted, Further to Pieter's comment, validation:validate-report() was a function available in early version of eXist and was deprecated a long time ago, replaced by validation:parse-report(), validation:jaxv-report() or valation:jing-report() functions (which is why Michael suggested using a different function. When using functions in eXist it is obligatory to check the version you are using against the documentation. For example, you can search functions here https://exist-db.org/exist/apps/fundocs/index.html. (although function documentation is installed automatically in with eXist) You should acquire the habit of using the terminology of Xquery, functions, as it will help you search for solutions. Regards, JPR On Fri, Dec 15, 2023 at 7:54 PM Pieter Lamers <pie...@be...> wrote: > Hi Ted, > > Where on http://exist-db.org/exist/apps/fundocs/index.html did you find a > function validation:validate-report#2 ? I don't see it. > > Best, > Pieter > > On 15/12/2023 18:28, Ted Hickox wrote: > > I finally understand most of what is going on here. The validation module > is sort of like an object in object oriented programming. The clear > grammar cache is like an object method. And the validation report is like > an object method. I inserted the new line of code as everyone here has > suggested. But I received a new error: > > xquery version "3.0"; > import module namespace validation="http://exist-db.org/xquery/validation > "; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), validation:validate-report($instance, > $schema)) > > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] > > I'm guessing that this "method" doesn't exist in this module. Where does > it exist? > > nction validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] > > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation > > On Thu, Dec 14, 2023 at 6:04 PM Michael Westbay < > wes...@ja...> wrote: > >> Hi Ted, >> >> Let's first break down your program: >> >> xquery version "3.0"; >>> let $schema := >>> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') >>> let $instance := >>> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') >>> return >>> (validation:clear-grammar-cache(), validation:validate-report($instance, >>> $schema)) >>> >> >> The two *let* statements assign values to the variables *$schemai and >> $instance*. So far, so good. >> >> Then you make two function calls in the *return* statement, these to: >> >> ・ *validation:clear-grammar-cache*() >> ・ *validation:validate-report*(...) >> >> The *validation* namespace is NOT built into XQuery. It needs to be >> loaded into your program. >> >> A quick check of the XQuery Function Documentation for "validation" ( >> https://exist-db.org/exist/apps/fundocs/index.html) shows that the >> namespace of *http://exist-db.org/xquery/validation >> <http://exist-db.org/xquery/validation>* has the first function, but not >> the second. The closest function to the second is the >> *validation:jaxp-report/3* function: >> >> validation:jaxp-report >> >> validation:jaxp-report($instance as item(), $enable-grammar-cache as xs:boolean, $catalogs as item()*) as node() >> >> Validate document by parsing $instance. Optionally grammar caching can be >> enabled and an XML catalog can be specified. Supported grammars types are >> '.xsd' and '.dtd'. An XML report is returned. >> Parameters: >> $instance The document referenced as xs:anyURI, a node (element or >> result of fn:doc()) or as a Java file object. >> $enable-grammar-cache Set the flag to true() to enable grammar caching. >> $catalogs* The catalogs referenced as xs:anyURI's. Returns: node() : a >> validation report. >> >> >> To import the *validation* namespace into your program, enter the >> following after the XQuery version line: >> >> import module namespace "http://exist-db.org/xquery/validation"; >> >> >> Importing modules is one of the core functionalities of XQuery for code >> reuse. I strongly recommend reading this page about creating (and using) >> XQuery functions from the XQuery WikiBook: >> >> https://en.wikibooks.org/wiki/XQuery/Creating_XQuery_Functions >> >> >> That explains how to create your own modules and import them. The example >> I provided above (which doesn't have the *at* clause) is for modules >> built into eXist. >> >> The XQuery Function Documentation page and XQuery WikiBook are two >> resources you should have bookmarked. >> >> Hope this helps. >> >> -- >> Michael Westbay >> Writer/System Administrator >> http://www.japanesebaseball.com/ >> > > > _______________________________________________ > Exist-open mailing lis...@li...://lists.sourceforge.net/lists/listinfo/exist-open > > > -- > Pieter Lamers > John Benjamins Publishing Company > Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands > Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands > Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands > tel: +31 20 630 4747 > web: www.benjamins.com > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Ted H. <meg...@gm...> - 2023-12-15 22:32:31
|
On page 251 of the eXist book that was published in December 2014, there are generic validation functions. I wonder if they were removed as eXist advanced. On Fri, Dec 15, 2023, 12:54 PM Pieter Lamers <pie...@be...> wrote: > Hi Ted, > > Where on http://exist-db.org/exist/apps/fundocs/index.html did you find a > function validation:validate-report#2 ? I don't see it. > > Best, > Pieter > > On 15/12/2023 18:28, Ted Hickox wrote: > > I finally understand most of what is going on here. The validation module > is sort of like an object in object oriented programming. The clear > grammar cache is like an object method. And the validation report is like > an object method. I inserted the new line of code as everyone here has > suggested. But I received a new error: > > xquery version "3.0"; > import module namespace validation="http://exist-db.org/xquery/validation > "; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), validation:validate-report($instance, > $schema)) > > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] > > I'm guessing that this "method" doesn't exist in this module. Where does > it exist? > > nction validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] > > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation > > On Thu, Dec 14, 2023 at 6:04 PM Michael Westbay < > wes...@ja...> wrote: > >> Hi Ted, >> >> Let's first break down your program: >> >> xquery version "3.0"; >>> let $schema := >>> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') >>> let $instance := >>> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') >>> return >>> (validation:clear-grammar-cache(), validation:validate-report($instance, >>> $schema)) >>> >> >> The two *let* statements assign values to the variables *$schemai and >> $instance*. So far, so good. >> >> Then you make two function calls in the *return* statement, these to: >> >> ・ *validation:clear-grammar-cache*() >> ・ *validation:validate-report*(...) >> >> The *validation* namespace is NOT built into XQuery. It needs to be >> loaded into your program. >> >> A quick check of the XQuery Function Documentation for "validation" ( >> https://exist-db.org/exist/apps/fundocs/index.html) shows that the >> namespace of *http://exist-db.org/xquery/validation >> <http://exist-db.org/xquery/validation>* has the first function, but not >> the second. The closest function to the second is the >> *validation:jaxp-report/3* function: >> >> validation:jaxp-report >> >> validation:jaxp-report($instance as item(), $enable-grammar-cache as xs:boolean, $catalogs as item()*) as node() >> >> Validate document by parsing $instance. Optionally grammar caching can be >> enabled and an XML catalog can be specified. Supported grammars types are >> '.xsd' and '.dtd'. An XML report is returned. >> Parameters: >> $instance The document referenced as xs:anyURI, a node (element or >> result of fn:doc()) or as a Java file object. >> $enable-grammar-cache Set the flag to true() to enable grammar caching. >> $catalogs* The catalogs referenced as xs:anyURI's. Returns: node() : a >> validation report. >> >> >> To import the *validation* namespace into your program, enter the >> following after the XQuery version line: >> >> import module namespace "http://exist-db.org/xquery/validation"; >> >> >> Importing modules is one of the core functionalities of XQuery for code >> reuse. I strongly recommend reading this page about creating (and using) >> XQuery functions from the XQuery WikiBook: >> >> https://en.wikibooks.org/wiki/XQuery/Creating_XQuery_Functions >> >> >> That explains how to create your own modules and import them. The example >> I provided above (which doesn't have the *at* clause) is for modules >> built into eXist. >> >> The XQuery Function Documentation page and XQuery WikiBook are two >> resources you should have bookmarked. >> >> Hope this helps. >> >> -- >> Michael Westbay >> Writer/System Administrator >> http://www.japanesebaseball.com/ >> > > > _______________________________________________ > Exist-open mailing lis...@li...://lists.sourceforge.net/lists/listinfo/exist-open > > > -- > Pieter Lamers > John Benjamins Publishing Company > Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands > Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands > Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands > tel: +31 20 630 4747 > web: www.benjamins.com > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Pieter L. <pie...@be...> - 2023-12-15 18:53:08
|
Hi Ted, Where on http://exist-db.org/exist/apps/fundocs/index.html did you find a function validation:validate-report#2 ? I don't see it. Best, Pieter On 15/12/2023 18:28, Ted Hickox wrote: > I finally understand most of what is going on here. The validation > module is sort of like an object in object oriented programming. The > clear grammar cache is like an object method. And the validation > report is like an object method. I inserted the new line of code as > everyone here has suggested. But I received a new error: > > xquery version "3.0"; > import module namespace > validation="http://exist-db.org/xquery/validation"; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), > validation:validate-report($instance, $schema)) > > Function validation:validate-report() is not defined in module > namespace: http://exist-db.org/xquery/validation [at line 5, column 36] > > I'm guessing that this "method" doesn't exist in this module. Where > does it exist? > > nction validation:validate-report() is not defined in module > namespace: http://exist-db.org/xquery/validation [at line 5, column 36] > > > Function validation:validate-report() is not defined in module > namespace: http://exist-db.org/xquery/validation > Function validation:validate-report() is not defined in module > namespace: http://exist-db.org/xquery/validation > > On Thu, Dec 14, 2023 at 6:04 PM Michael Westbay > <wes...@ja...> wrote: > > Hi Ted, > > Let's first break down your program: > > xquery version "3.0"; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), > validation:validate-report($instance, $schema)) > > > The two *let* statements assign values to the variables /$schemai > and $instance/. So far, so good. > > Then you make two function calls in the *return* statement, these to: > > ・ /validation:clear-grammar-cache/() > ・ /validation:validate-report/(...) > The *validation* namespace is NOT built into XQuery. It needs to > be loaded into your program. > > A quick check of the XQuery Function Documentation for > "validation" (https://exist-db.org/exist/apps/fundocs/index.html) > shows that the namespace of > *http://exist-db.org/xquery/validation* has the first function, > but not the second. The closest function to the second is the > *validation:jaxp-report/3* function: > > > validation:jaxp-report > > |validation:jaxp-report($instance as item(), > $enable-grammar-cache as xs:boolean, $catalogs as item()*) as > node()| > > Validate document by parsing $instance. Optionally grammar > caching can be enabled and an XML catalog can be specified. > Supported grammars types are '.xsd' and '.dtd'. An XML report > is returned. > > Parameters: > $instance The document referenced as xs:anyURI, a node > (element or result of fn:doc()) or as a Java file object. > $enable-grammar-cache Set the flag to true() to enable > grammar caching. > $catalogs* The catalogs referenced as xs:anyURI's. > > Returns: > node() : a validation report. > > > To import the *validation* namespace into your program, enter the > following after the XQuery version line: > > import module namespace "http://exist-db.org/xquery/validation"; > > > Importing modules is one of the core functionalities of XQuery for > code reuse. I strongly recommend reading this page about creating > (and using) XQuery functions from the XQuery WikiBook: > > https://en.wikibooks.org/wiki/XQuery/Creating_XQuery_Functions > > > That explains how to create your own modules and import them. The > example I provided above (which doesn't have the *at* clause) is > for modules built into eXist. > > The XQuery Function Documentation page and XQuery WikiBook are two > resources you should have bookmarked. > > Hope this helps. > > -- > Michael Westbay > Writer/System Administrator > http://www.japanesebaseball.com/ > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open -- Pieter Lamers John Benjamins Publishing Company Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands tel: +31 20 630 4747 web:www.benjamins.com |
|
From: Ted H. <meg...@gm...> - 2023-12-15 17:28:53
|
I finally understand most of what is going on here. The validation module is sort of like an object in object oriented programming. The clear grammar cache is like an object method. And the validation report is like an object method. I inserted the new line of code as everyone here has suggested. But I received a new error: xquery version "3.0"; import module namespace validation="http://exist-db.org/xquery/validation"; let $schema := xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') let $instance := xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') return (validation:clear-grammar-cache(), validation:validate-report($instance, $schema)) Function validation:validate-report() is not defined in module namespace: http://exist-db.org/xquery/validation [at line 5, column 36] I'm guessing that this "method" doesn't exist in this module. Where does it exist? nction validation:validate-report() is not defined in module namespace: http://exist-db.org/xquery/validation [at line 5, column 36] Function validation:validate-report() is not defined in module namespace: http://exist-db.org/xquery/validation Function validation:validate-report() is not defined in module namespace: http://exist-db.org/xquery/validation On Thu, Dec 14, 2023 at 6:04 PM Michael Westbay < wes...@ja...> wrote: > Hi Ted, > > Let's first break down your program: > > xquery version "3.0"; >> let $schema := >> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') >> let $instance := >> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') >> return >> (validation:clear-grammar-cache(), validation:validate-report($instance, >> $schema)) >> > > The two *let* statements assign values to the variables *$schemai and > $instance*. So far, so good. > > Then you make two function calls in the *return* statement, these to: > > ・ *validation:clear-grammar-cache*() > ・ *validation:validate-report*(...) > > The *validation* namespace is NOT built into XQuery. It needs to be > loaded into your program. > > A quick check of the XQuery Function Documentation for "validation" ( > https://exist-db.org/exist/apps/fundocs/index.html) shows that the > namespace of *http://exist-db.org/xquery/validation > <http://exist-db.org/xquery/validation>* has the first function, but not > the second. The closest function to the second is the > *validation:jaxp-report/3* function: > > validation:jaxp-report > > validation:jaxp-report($instance as item(), $enable-grammar-cache as xs:boolean, $catalogs as item()*) as node() > > Validate document by parsing $instance. Optionally grammar caching can be > enabled and an XML catalog can be specified. Supported grammars types are > '.xsd' and '.dtd'. An XML report is returned. > Parameters: > $instance The document referenced as xs:anyURI, a node (element or result > of fn:doc()) or as a Java file object. > $enable-grammar-cache Set the flag to true() to enable grammar caching. > $catalogs* The catalogs referenced as xs:anyURI's.Returns:node() : a > validation report. > > > To import the *validation* namespace into your program, enter the > following after the XQuery version line: > > import module namespace "http://exist-db.org/xquery/validation"; > > > Importing modules is one of the core functionalities of XQuery for code > reuse. I strongly recommend reading this page about creating (and using) > XQuery functions from the XQuery WikiBook: > > https://en.wikibooks.org/wiki/XQuery/Creating_XQuery_Functions > > > That explains how to create your own modules and import them. The example > I provided above (which doesn't have the *at* clause) is for modules > built into eXist. > > The XQuery Function Documentation page and XQuery WikiBook are two > resources you should have bookmarked. > > Hope this helps. > > -- > Michael Westbay > Writer/System Administrator > http://www.japanesebaseball.com/ > |
|
From: Michael W. <wes...@ja...> - 2023-12-15 00:04:34
|
Hi Ted,
Let's first break down your program:
xquery version "3.0";
> let $schema :=
> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd')
> let $instance :=
> xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml')
> return
> (validation:clear-grammar-cache(), validation:validate-report($instance,
> $schema))
>
The two *let* statements assign values to the variables *$schemai and
$instance*. So far, so good.
Then you make two function calls in the *return* statement, these to:
・ *validation:clear-grammar-cache*()
・ *validation:validate-report*(...)
The *validation* namespace is NOT built into XQuery. It needs to be loaded
into your program.
A quick check of the XQuery Function Documentation for "validation" (
https://exist-db.org/exist/apps/fundocs/index.html) shows that the
namespace of *http://exist-db.org/xquery/validation
<http://exist-db.org/xquery/validation>* has the first function, but not
the second. The closest function to the second is the
*validation:jaxp-report/3* function:
validation:jaxp-report
validation:jaxp-report($instance as item(), $enable-grammar-cache as
xs:boolean, $catalogs as item()*) as node()
Validate document by parsing $instance. Optionally grammar caching can be
enabled and an XML catalog can be specified. Supported grammars types are
'.xsd' and '.dtd'. An XML report is returned.
Parameters:
$instance The document referenced as xs:anyURI, a node (element or result
of fn:doc()) or as a Java file object.
$enable-grammar-cache Set the flag to true() to enable grammar caching.
$catalogs* The catalogs referenced as xs:anyURI's.Returns:node() : a
validation report.
To import the *validation* namespace into your program, enter the following
after the XQuery version line:
import module namespace "http://exist-db.org/xquery/validation";
Importing modules is one of the core functionalities of XQuery for code
reuse. I strongly recommend reading this page about creating (and using)
XQuery functions from the XQuery WikiBook:
https://en.wikibooks.org/wiki/XQuery/Creating_XQuery_Functions
That explains how to create your own modules and import them. The example I
provided above (which doesn't have the *at* clause) is for modules built
into eXist.
The XQuery Function Documentation page and XQuery WikiBook are two
resources you should have bookmarked.
Hope this helps.
--
Michael Westbay
Writer/System Administrator
http://www.japanesebaseball.com/
|
|
From: Jean-Paul R. <re...@gm...> - 2023-12-14 22:44:57
|
If you've installed eXist with the default applications, a simple look at the loaded modules for the apps would give you the basic models to follow. In this case, validation is a built-in module that comes with eXist so the import is simple. See the bold part below. xquery version "3.0"; *import module namespace validation="http://exist-db.org/xquery/validation <http://exist-db.org/xquery/validation>";* let $schema := xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') let $instance := xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') On Thu, Dec 14, 2023 at 4:18 PM Ted Hickox <meg...@gm...> wrote: > I have the following documents: > > SVG_Ellipse_Webpage_XQuery_Validator.xq > > xquery version "3.0"; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), validation:validate-report($instance, > $schema)) > > HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd > > <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:target=" > http://www.TedTheSpeedlearner.com <http://www.tedthespeedlearner.com/>" > targetNamespace="http://www.TedTheSpeedlearner.com > <http://www.tedthespeedlearner.com/>" elementFormDefault="qualified"> > <complexType name="HeadType"> > <sequence> > <element name="head" type="target:TitleType"/> > <element name="body" type="target:BodyType"/> > </sequence> > </complexType> > <complexType name="TitleType"> > <sequence> > <element name="title" type="string"/> > <element name="link" type="target:LinkType"/> > <element name="script" type="target:ScriptType"/> > </sequence> > </complexType> > <complexType name="LinkType"> > <attribute name="rel" type="string"/> > <attribute name="type" type="string"/> > <attribute name="href" type="string"/> > </complexType> > <complexType name="ScriptType"> > <attribute name="language" type="string"/> > <attribute name="src" type="string"/> > </complexType> > <complexType name="BodyType"> > <sequence> > <element name="svg" type="target:SvgType"/> > </sequence> > <attribute name="onload" type="string"/> > </complexType> > <complexType name="SvgType"> > <sequence> > <element name="ellipse" type="target:EllipseType"/> > </sequence> > <attribute name="id" type="string"/> > </complexType> > <complexType name="EllipseType"> > <attribute name="id" type="string"/> > </complexType> > <element name="html" type="target:HeadType"/> > </schema> > > SVG_Ellipse_Webpage_XML.xml > > <html xmlns="http://www.TedTheSpeedlearner.com > <http://www.tedthespeedlearner.com/>" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" > http://www.TedTheSpeedlearner.com <http://www.tedthespeedlearner.com/> > SVG_Ellipse_Webpage_XML_Schema.xsd"> > <head> > <title>SVG Ellipse</title> > <link rel="stylesheet" type="text/css" href=" > http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css"/> > <script language="javascript" src=" > http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js"/> > </head> > <body onload="Setup()"> > <svg id="Image_Box"> > <ellipse id="My_Ellipse"/> > </svg> > </body> > </html> > > Michael Westbay stated that I didn't import the validation module > anywhere. I'm still very new at Xquery. And I looked up importing > validation on the internet and found no instructions on how to do this in > eXist. What validation module am I importing and what instruction needs to > be used to perform this importing? > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Ted H. <meg...@gm...> - 2023-12-14 15:17:18
|
I have the following documents:
SVG_Ellipse_Webpage_XQuery_Validator.xq
xquery version "3.0";
let $schema :=
xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd')
let $instance :=
xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml')
return
(validation:clear-grammar-cache(), validation:validate-report($instance,
$schema))
HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:target="
http://www.TedTheSpeedlearner.com <http://www.tedthespeedlearner.com/>"
targetNamespace="http://www.TedTheSpeedlearner.com
<http://www.tedthespeedlearner.com/>" elementFormDefault="qualified">
<complexType name="HeadType">
<sequence>
<element name="head" type="target:TitleType"/>
<element name="body" type="target:BodyType"/>
</sequence>
</complexType>
<complexType name="TitleType">
<sequence>
<element name="title" type="string"/>
<element name="link" type="target:LinkType"/>
<element name="script" type="target:ScriptType"/>
</sequence>
</complexType>
<complexType name="LinkType">
<attribute name="rel" type="string"/>
<attribute name="type" type="string"/>
<attribute name="href" type="string"/>
</complexType>
<complexType name="ScriptType">
<attribute name="language" type="string"/>
<attribute name="src" type="string"/>
</complexType>
<complexType name="BodyType">
<sequence>
<element name="svg" type="target:SvgType"/>
</sequence>
<attribute name="onload" type="string"/>
</complexType>
<complexType name="SvgType">
<sequence>
<element name="ellipse" type="target:EllipseType"/>
</sequence>
<attribute name="id" type="string"/>
</complexType>
<complexType name="EllipseType">
<attribute name="id" type="string"/>
</complexType>
<element name="html" type="target:HeadType"/>
</schema>
SVG_Ellipse_Webpage_XML.xml
<html xmlns="http://www.TedTheSpeedlearner.com
<http://www.tedthespeedlearner.com/>" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.TedTheSpeedlearner.com <http://www.tedthespeedlearner.com/>
SVG_Ellipse_Webpage_XML_Schema.xsd">
<head>
<title>SVG Ellipse</title>
<link rel="stylesheet" type="text/css" href="
http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css"/>
<script language="javascript" src="
http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js"/>
</head>
<body onload="Setup()">
<svg id="Image_Box">
<ellipse id="My_Ellipse"/>
</svg>
</body>
</html>
Michael Westbay stated that I didn't import the validation module
anywhere. I'm still very new at Xquery. And I looked up importing
validation on the internet and found no instructions on how to do this in
eXist. What validation module am I importing and what instruction needs to
be used to perform this importing?
|
|
From: Michael W. <wes...@ja...> - 2023-12-13 04:38:16
|
Hi Ted, This is an easy one. Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] >From this file: xquery version "3.0"; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (*validation*:clear-grammar-cache(), *validation*:validate-report($instance, > $schema)) You don't import the *validation* module anywhere. With no module for the validation namespace to be bound to, there is no *clear-grammar-cache* nor *validate-report* functions to call. Hope this helps. Take care. 2023年12月13日(水) 13:05 Ted Hickox <meg...@gm...>: > I have the following documents: > > SVG_Ellipse_Webpage_XQuery_Validator.xq > > xquery version "3.0"; > let $schema := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd') > let $instance := > xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml') > return > (validation:clear-grammar-cache(), validation:validate-report($instance, > $schema)) > > HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd > > <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:target=" > http://www.TedTheSpeedlearner.com" targetNamespace=" > http://www.TedTheSpeedlearner.com" elementFormDefault="qualified"> > <complexType name="HeadType"> > <sequence> > <element name="head" type="target:TitleType"/> > <element name="body" type="target:BodyType"/> > </sequence> > </complexType> > <complexType name="TitleType"> > <sequence> > <element name="title" type="string"/> > <element name="link" type="target:LinkType"/> > <element name="script" type="target:ScriptType"/> > </sequence> > </complexType> > <complexType name="LinkType"> > <attribute name="rel" type="string"/> > <attribute name="type" type="string"/> > <attribute name="href" type="string"/> > </complexType> > <complexType name="ScriptType"> > <attribute name="language" type="string"/> > <attribute name="src" type="string"/> > </complexType> > <complexType name="BodyType"> > <sequence> > <element name="svg" type="target:SvgType"/> > </sequence> > <attribute name="onload" type="string"/> > </complexType> > <complexType name="SvgType"> > <sequence> > <element name="ellipse" type="target:EllipseType"/> > </sequence> > <attribute name="id" type="string"/> > </complexType> > <complexType name="EllipseType"> > <attribute name="id" type="string"/> > </complexType> > <element name="html" type="target:HeadType"/> > </schema> > > SVG_Ellipse_Webpage_XML.xml > > <html xmlns="http://www.TedTheSpeedlearner.com" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" > http://www.TedTheSpeedlearner.com SVG_Ellipse_Webpage_XML_Schema.xsd"> > <head> > <title>SVG Ellipse</title> > <link rel="stylesheet" type="text/css" href=" > http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css"/> > <script language="javascript" src=" > http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js"/> > </head> > <body onload="Setup()"> > <svg id="Image_Box"> > <ellipse id="My_Ellipse"/> > </svg> > </body> > </html> > > When I loaded these documents into the eXist database, I received the > following error: > > Function validation:validate-report() is not defined in module namespace: > http://exist-db.org/xquery/validation [at line 5, column 36] I don't > know what I've done wrong so I don't know how to fix it. Can someone > please explain to me what I've done wrong and what I must do to fix this > error? Function validation:validate-report() is not defined in module > namespace: > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ |
|
From: Ted H. <meg...@gm...> - 2023-12-13 04:04:55
|
I have the following documents:
SVG_Ellipse_Webpage_XQuery_Validator.xq
xquery version "3.0";
let $schema :=
xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd')
let $instance :=
xs:anyURI('/db/apps/HTML_Student/SVG_Ellipse_Webpage_XML.xml')
return
(validation:clear-grammar-cache(), validation:validate-report($instance,
$schema))
HTML_Student/SVG_Ellipse_Webpage_XML_Schema.xsd
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:target="
http://www.TedTheSpeedlearner.com" targetNamespace="
http://www.TedTheSpeedlearner.com" elementFormDefault="qualified">
<complexType name="HeadType">
<sequence>
<element name="head" type="target:TitleType"/>
<element name="body" type="target:BodyType"/>
</sequence>
</complexType>
<complexType name="TitleType">
<sequence>
<element name="title" type="string"/>
<element name="link" type="target:LinkType"/>
<element name="script" type="target:ScriptType"/>
</sequence>
</complexType>
<complexType name="LinkType">
<attribute name="rel" type="string"/>
<attribute name="type" type="string"/>
<attribute name="href" type="string"/>
</complexType>
<complexType name="ScriptType">
<attribute name="language" type="string"/>
<attribute name="src" type="string"/>
</complexType>
<complexType name="BodyType">
<sequence>
<element name="svg" type="target:SvgType"/>
</sequence>
<attribute name="onload" type="string"/>
</complexType>
<complexType name="SvgType">
<sequence>
<element name="ellipse" type="target:EllipseType"/>
</sequence>
<attribute name="id" type="string"/>
</complexType>
<complexType name="EllipseType">
<attribute name="id" type="string"/>
</complexType>
<element name="html" type="target:HeadType"/>
</schema>
SVG_Ellipse_Webpage_XML.xml
<html xmlns="http://www.TedTheSpeedlearner.com" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.TedTheSpeedlearner.com SVG_Ellipse_Webpage_XML_Schema.xsd">
<head>
<title>SVG Ellipse</title>
<link rel="stylesheet" type="text/css" href="
http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.css"/>
<script language="javascript" src="
http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Ellipse.js"/>
</head>
<body onload="Setup()">
<svg id="Image_Box">
<ellipse id="My_Ellipse"/>
</svg>
</body>
</html>
When I loaded these documents into the eXist database, I received the
following error:
Function validation:validate-report() is not defined in module namespace:
http://exist-db.org/xquery/validation [at line 5, column 36] I don't know
what I've done wrong so I don't know how to fix it. Can someone please
explain to me what I've done wrong and what I must do to fix this
error? Function
validation:validate-report() is not defined in module namespace:
|
|
From: Pieter L. <pie...@be...> - 2023-12-06 07:56:22
|
Hi Ted (et al.),
A general practice that we have a adopted is the following:
- install the jar under C:\exist-distributions\{version}, specifying a
separate data directory (e.g. C:\exist-data)
- make a Symbolic link to that folder using mklink /D C:\exist-db
C:\exist-distributions\{version} - ( run our local modifications )
This makes testing a newer release and switching back and forth a bit
easier.
Sorry Ted, that I only saw the following now in our internal documentation:
eXist must be installed underneathC:\exist-distributions, and the link to the currently used distribution must be atC:\exist-db.
Using longer directory names will result in failure to start eXist because of a Java classpath error: “error=206, The filename or extension is too long.”
As most people using Windows may use a preset default (which is
C:\exist-db) most people don't encounter your problem. And as none of
the core developers is on Windows, they would not think about fixing it,
unless someone asks them politely (e.g. with an issue on GitHub and/or
with some funding).
Best,
Pieter
On 06/12/2023 03:30, Ted Hickox wrote:
> This seems to solve my problem. Thanks for your assistance.
>
> On Tue, Dec 5, 2023 at 11:58 AM Boris Lehečka <bo...@da...> wrote:
>
> Hello Ted,
>
> I recommend placing eXist-db in the root directory, for
> example in
> "C:\eXist-db".
>
> Best regards,
>
> Boris Lehečka
>
> Dne 05.12.2023 v 17:56 Ted Hickox napsal(a):
> > I have a brand new Acer Swift 3 computer with the latest version of
> > Windows 11 home edition installed. I uninstalled Norton and
> installed
> > PC Matic. I have two attachments in this e-mail. The first
> shows my
> > Java version. I was told it would work with eXist 6.2. And yes, I
> > have Java 6.2 (your latest version) installed on my computer. The
> > other attachment shows the error I received when I tried to run
> > bin\startup.bat as an administrator. I hope someone here can
> help me
> > with all of this information.
> >
> >
> > _______________________________________________
> > Exist-open mailing list
> > Exi...@li...
> > https://lists.sourceforge.net/lists/listinfo/exist-open
>
>
> _______________________________________________
> Exist-open mailing list
> Exi...@li...
> https://lists.sourceforge.net/lists/listinfo/exist-open
>
>
>
> _______________________________________________
> Exist-open mailing list
> Exi...@li...
> https://lists.sourceforge.net/lists/listinfo/exist-open
--
Pieter Lamers
John Benjamins Publishing Company
Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands
Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands
Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands
tel: +31 20 630 4747
web:www.benjamins.com
|
|
From: Ted H. <meg...@gm...> - 2023-12-06 02:30:48
|
This seems to solve my problem. Thanks for your assistance. On Tue, Dec 5, 2023 at 11:58 AM Boris Lehečka <bo...@da...> wrote: > Hello Ted, > > I recommend placing eXist-db in the root directory, for example in > "C:\eXist-db". > > Best regards, > > Boris Lehečka > > Dne 05.12.2023 v 17:56 Ted Hickox napsal(a): > > I have a brand new Acer Swift 3 computer with the latest version of > > Windows 11 home edition installed. I uninstalled Norton and installed > > PC Matic. I have two attachments in this e-mail. The first shows my > > Java version. I was told it would work with eXist 6.2. And yes, I > > have Java 6.2 (your latest version) installed on my computer. The > > other attachment shows the error I received when I tried to run > > bin\startup.bat as an administrator. I hope someone here can help me > > with all of this information. > > > > > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Boris L. <bo...@da...> - 2023-12-05 17:57:05
|
Hello Ted, I recommend placing eXist-db in the root directory, for example in "C:\eXist-db". Best regards, Boris Lehečka Dne 05.12.2023 v 17:56 Ted Hickox napsal(a): > I have a brand new Acer Swift 3 computer with the latest version of > Windows 11 home edition installed. I uninstalled Norton and installed > PC Matic. I have two attachments in this e-mail. The first shows my > Java version. I was told it would work with eXist 6.2. And yes, I > have Java 6.2 (your latest version) installed on my computer. The > other attachment shows the error I received when I tried to run > bin\startup.bat as an administrator. I hope someone here can help me > with all of this information. > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |
|
From: Ted H. <meg...@gm...> - 2023-12-05 16:57:20
|
I have a brand new Acer Swift 3 computer with the latest version of Windows 11 home edition installed. I uninstalled Norton and installed PC Matic. I have two attachments in this e-mail. The first shows my Java version. I was told it would work with eXist 6.2. And yes, I have Java 6.2 (your latest version) installed on my computer. The other attachment shows the error I received when I tried to run bin\startup.bat as an administrator. I hope someone here can help me with all of this information. |
|
From: Patrick R. <pa...@re...> - 2023-12-04 23:47:02
|
Hi Ted, What version of eXist do you want to run first of all? Because depending on that version it may well be, that you need an other version of Java in order to run it. Regards Patrick Am 04.12.2023 um 17:53 schrieb Ted Hickox: > Someone told me in this forum to run the bin\startup from the command > line. Soi I did. I received the following message. The message says > cannot run program.c:ProgramFiles\Java\jdk-11\bin\javaw.exe in > directory c:Users\TedHickox\Documents\eXist create process error = 206 > The filename or extension is too long. The stackflow article that > someone in this group sent to me discusses Java classes and Java > objects. I barely comprehend either term. I've never programmed in > Java even though I have programmed in Javascript for years. So I had > a tough time reading the stackflow article. So I didn't obtain very > much useful information from the stackflow article. > > On Mon, Dec 4, 2023 at 10:38 AM Jean-Paul Rehr <re...@gm...> wrote: > > >I tried to run bin\startup as an administrator and it didn't work > > Unfortunately these kinds of comments don't let anyone help you. > To get correct help you need to provide exactly the steps to > reproduce your installation and problems in executing programs, > and then the exact error messages you receive. > > Lots of people run eXist on Windows (I don't, but my colleagues do). > > As it goes, most eXist help is now found on the eXist developer's > Slack community, > https://join.slack.com/t/exist-db/shared_invite/zt-89ukckoj-zbbC_V2QDIR5nGMokG9TQA > . You are likely to find more responsiveness there than this > mailing list. > > JPR > |
|
From: Ted H. <meg...@gm...> - 2023-12-04 21:47:17
|
Vincent Razanajao advised me to run the bin\startup.bat program through the command line. I tried to do this. An error appeared. I took a screenshot of the error and I've included that screenshot in this e-mail. I don't know how to fix it. Please assist me. |
|
From: Ted H. <meg...@gm...> - 2023-12-04 16:53:47
|
Someone told me in this forum to run the bin\startup from the command line. Soi I did. I received the following message. The message says cannot run program.c:ProgramFiles\Java\jdk-11\bin\javaw.exe in directory c:Users\TedHickox\Documents\eXist create process error = 206 The filename or extension is too long. The stackflow article that someone in this group sent to me discusses Java classes and Java objects. I barely comprehend either term. I've never programmed in Java even though I have programmed in Javascript for years. So I had a tough time reading the stackflow article. So I didn't obtain very much useful information from the stackflow article. On Mon, Dec 4, 2023 at 10:38 AM Jean-Paul Rehr <re...@gm...> wrote: > >I tried to run bin\startup as an administrator and it didn't work > > Unfortunately these kinds of comments don't let anyone help you. To get > correct help you need to provide exactly the steps to reproduce your > installation and problems in executing programs, and then the exact error > messages you receive. > > Lots of people run eXist on Windows (I don't, but my colleagues do). > > As it goes, most eXist help is now found on the eXist developer's Slack > community, > https://join.slack.com/t/exist-db/shared_invite/zt-89ukckoj-zbbC_V2QDIR5nGMokG9TQA > . You are likely to find more responsiveness there than this mailing list. > > JPR > > > On Mon, Dec 4, 2023 at 5:25 PM Ted Hickox <meg...@gm...> wrote: > >> I tried to run the program as an administrator and it didn't work. I >> tried to run bin\startup as an administrator and it didn't work. I >> couldn't comprehend one word about the stackflow article. Unless someone >> translates that article for me, I guess this program can't work with >> Windows. And when I tried to use this program in Ubuntu Linux, it refused >> to use any Java version except the 1.8 build. So unless someone can help >> me with that, I won't be able to use eXist. And that's a real shame >> because 10 years ago l loved using eXist. I even uploaded videos about it >> and bought the book that you published about it. I've tried to read the >> book but I feel I would need an encyclopedia just to translate it. >> >> On Mon, Dec 4, 2023 at 5:49 AM Pieter Lamers <pie...@be...> >> wrote: >> >>> I think this is a bogus error. I think you may need to run it with >>> administrator permissions or something of the like. >>> >>> best >>> Pieter >>> >>> >>> On 04/12/2023 09:44, Vincent Razanajao wrote: >>> > Hi Ted, >>> > >>> > I also had this issue with my brand new laptop running windows 11. >>> > Though it does not run existdb as a service, I managed to launch the >>> > server by executing /bin/statrtup.bat through the command line. >>> > >>> > Hope this helps, >>> > >>> > Best, >>> > >>> > Vincent >>> > >>> > Le 04/12/2023 à 07:00, Ted Hickox a écrit : >>> >> I finally figured out that my PC Matic program was blocking my eXist >>> >> database. But when I tried to open eXist for the first time, I got >>> >> an error. I don't know how to fix it. I attached a photo of the >>> >> error so you could see it. >>> >> >>> >> >>> >> _______________________________________________ >>> >> Exist-open mailing list >>> >> Exi...@li... >>> >> https://lists.sourceforge.net/lists/listinfo/exist-open >>> > >>> > >>> > _______________________________________________ >>> > Exist-open mailing list >>> > Exi...@li... >>> > https://lists.sourceforge.net/lists/listinfo/exist-open >>> >>> -- >>> Pieter Lamers >>> John Benjamins Publishing Company >>> Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands >>> Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands >>> Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands >>> tel: +31 20 630 4747 >>> web: www.benjamins.com >>> >>> >>> >>> _______________________________________________ >>> Exist-open mailing list >>> Exi...@li... >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> > |
|
From: Jean-Paul R. <re...@gm...> - 2023-12-04 16:38:41
|
>I tried to run bin\startup as an administrator and it didn't work Unfortunately these kinds of comments don't let anyone help you. To get correct help you need to provide exactly the steps to reproduce your installation and problems in executing programs, and then the exact error messages you receive. Lots of people run eXist on Windows (I don't, but my colleagues do). As it goes, most eXist help is now found on the eXist developer's Slack community, https://join.slack.com/t/exist-db/shared_invite/zt-89ukckoj-zbbC_V2QDIR5nGMokG9TQA . You are likely to find more responsiveness there than this mailing list. JPR On Mon, Dec 4, 2023 at 5:25 PM Ted Hickox <meg...@gm...> wrote: > I tried to run the program as an administrator and it didn't work. I > tried to run bin\startup as an administrator and it didn't work. I > couldn't comprehend one word about the stackflow article. Unless someone > translates that article for me, I guess this program can't work with > Windows. And when I tried to use this program in Ubuntu Linux, it refused > to use any Java version except the 1.8 build. So unless someone can help > me with that, I won't be able to use eXist. And that's a real shame > because 10 years ago l loved using eXist. I even uploaded videos about it > and bought the book that you published about it. I've tried to read the > book but I feel I would need an encyclopedia just to translate it. > > On Mon, Dec 4, 2023 at 5:49 AM Pieter Lamers <pie...@be...> > wrote: > >> I think this is a bogus error. I think you may need to run it with >> administrator permissions or something of the like. >> >> best >> Pieter >> >> >> On 04/12/2023 09:44, Vincent Razanajao wrote: >> > Hi Ted, >> > >> > I also had this issue with my brand new laptop running windows 11. >> > Though it does not run existdb as a service, I managed to launch the >> > server by executing /bin/statrtup.bat through the command line. >> > >> > Hope this helps, >> > >> > Best, >> > >> > Vincent >> > >> > Le 04/12/2023 à 07:00, Ted Hickox a écrit : >> >> I finally figured out that my PC Matic program was blocking my eXist >> >> database. But when I tried to open eXist for the first time, I got >> >> an error. I don't know how to fix it. I attached a photo of the >> >> error so you could see it. >> >> >> >> >> >> _______________________________________________ >> >> Exist-open mailing list >> >> Exi...@li... >> >> https://lists.sourceforge.net/lists/listinfo/exist-open >> > >> > >> > _______________________________________________ >> > Exist-open mailing list >> > Exi...@li... >> > https://lists.sourceforge.net/lists/listinfo/exist-open >> >> -- >> Pieter Lamers >> John Benjamins Publishing Company >> Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands >> Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands >> Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands >> tel: +31 20 630 4747 >> web: www.benjamins.com >> >> >> >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Ted H. <meg...@gm...> - 2023-12-04 16:24:46
|
I tried to run the program as an administrator and it didn't work. I tried to run bin\startup as an administrator and it didn't work. I couldn't comprehend one word about the stackflow article. Unless someone translates that article for me, I guess this program can't work with Windows. And when I tried to use this program in Ubuntu Linux, it refused to use any Java version except the 1.8 build. So unless someone can help me with that, I won't be able to use eXist. And that's a real shame because 10 years ago l loved using eXist. I even uploaded videos about it and bought the book that you published about it. I've tried to read the book but I feel I would need an encyclopedia just to translate it. On Mon, Dec 4, 2023 at 5:49 AM Pieter Lamers <pie...@be...> wrote: > I think this is a bogus error. I think you may need to run it with > administrator permissions or something of the like. > > best > Pieter > > > On 04/12/2023 09:44, Vincent Razanajao wrote: > > Hi Ted, > > > > I also had this issue with my brand new laptop running windows 11. > > Though it does not run existdb as a service, I managed to launch the > > server by executing /bin/statrtup.bat through the command line. > > > > Hope this helps, > > > > Best, > > > > Vincent > > > > Le 04/12/2023 à 07:00, Ted Hickox a écrit : > >> I finally figured out that my PC Matic program was blocking my eXist > >> database. But when I tried to open eXist for the first time, I got > >> an error. I don't know how to fix it. I attached a photo of the > >> error so you could see it. > >> > >> > >> _______________________________________________ > >> Exist-open mailing list > >> Exi...@li... > >> https://lists.sourceforge.net/lists/listinfo/exist-open > > > > > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- > Pieter Lamers > John Benjamins Publishing Company > Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands > Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands > Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands > tel: +31 20 630 4747 > web: www.benjamins.com > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: Pieter L. <pie...@be...> - 2023-12-04 11:48:26
|
I think this is a bogus error. I think you may need to run it with administrator permissions or something of the like. best Pieter On 04/12/2023 09:44, Vincent Razanajao wrote: > Hi Ted, > > I also had this issue with my brand new laptop running windows 11. > Though it does not run existdb as a service, I managed to launch the > server by executing /bin/statrtup.bat through the command line. > > Hope this helps, > > Best, > > Vincent > > Le 04/12/2023 à 07:00, Ted Hickox a écrit : >> I finally figured out that my PC Matic program was blocking my eXist >> database. But when I tried to open eXist for the first time, I got >> an error. I don't know how to fix it. I attached a photo of the >> error so you could see it. >> >> >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open -- Pieter Lamers John Benjamins Publishing Company Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands tel: +31 20 630 4747 web: www.benjamins.com |
|
From: Habs <ge...@us...> - 2023-12-04 10:24:10
|
On Mon, 4 Dec 2023, Ted Hickox wrote: > I finally figured out that my PC Matic program was blocking my eXist > database. But when I tried to open eXist for the first time, I got an > error. I don't know how to fix it. I attached a photo of the error so you > could see it. > searching the internet may help... e.g. https://stackoverflow.com/questions/10519558/createprocess-error-206-the-filename-or-extension-is-too-long-when-running-main --- Sent using Alpine/Pine, probably the best MUA --- |
|
From: Vincent R. <vra...@gm...> - 2023-12-04 08:44:50
|
Hi Ted, I also had this issue with my brand new laptop running windows 11. Though it does not run existdb as a service, I managed to launch the server by executing /bin/statrtup.bat through the command line. Hope this helps, Best, Vincent Le 04/12/2023 à 07:00, Ted Hickox a écrit : > I finally figured out that my PC Matic program was blocking my eXist > database. But when I tried to open eXist for the first time, I got an > error. I don't know how to fix it. I attached a photo of the error > so you could see it. > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |
|
From: Ted H. <meg...@gm...> - 2023-12-04 06:01:15
|
I finally figured out that my PC Matic program was blocking my eXist database. But when I tried to open eXist for the first time, I got an error. I don't know how to fix it. I attached a photo of the error so you could see it. |
|
From: Ted H. <meg...@gm...> - 2023-12-03 01:31:18
|
I typed java -version and I saw my java 11 version. But it keeps saying to allow java in the protection level menu. I have no clue how to do this. Can you assist me? On Sat, Dec 2, 2023 at 7:28 PM John Reed <jr...@gm...> wrote: > Go to CMD and type Java -version. If you see a version there, then you’re > OK as far as that is concerned. > > Sent from my iPhone > > > On Dec 2, 2023, at 5:10 PM, John Reed <jr...@gm...> wrote: > > > > Hello Ted, I’m just a beginner, but did you set JAVA_HOME in your > computers, environment variables under system with the absolute path to > Java bin folder? > > > > Sent from my iPhone > > > >> On Dec 2, 2023, at 4:29 PM, Ted Hickox <meg...@gm...> wrote: > >> > >> > >> I installed eXist using the .jar file on Windows 11 after installing > Java 11. When I tried to run eXist, it says that Java is blocked. What am > I doing wrong? > >> _______________________________________________ > >> Exist-open mailing list > >> Exi...@li... > >> https://lists.sourceforge.net/lists/listinfo/exist-open > |
|
From: John R. <jr...@gm...> - 2023-12-03 01:28:19
|
Go to CMD and type Java -version. If you see a version there, then you’re OK as far as that is concerned. Sent from my iPhone > On Dec 2, 2023, at 5:10 PM, John Reed <jr...@gm...> wrote: > > Hello Ted, I’m just a beginner, but did you set JAVA_HOME in your computers, environment variables under system with the absolute path to Java bin folder? > > Sent from my iPhone > >> On Dec 2, 2023, at 4:29 PM, Ted Hickox <meg...@gm...> wrote: >> >> >> I installed eXist using the .jar file on Windows 11 after installing Java 11. When I tried to run eXist, it says that Java is blocked. What am I doing wrong? >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open |
|
From: John R. <jr...@gm...> - 2023-12-03 01:11:15
|
Hello Ted, I’m just a beginner, but did you set JAVA_HOME in your computers, environment variables under system with the absolute path to Java bin folder? Sent from my iPhone > On Dec 2, 2023, at 4:29 PM, Ted Hickox <meg...@gm...> wrote: > > > I installed eXist using the .jar file on Windows 11 after installing Java 11. When I tried to run eXist, it says that Java is blocked. What am I doing wrong? > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |