Is there a way to create a connection pool in basex as you would with applications that connects to oracle or sql server? How do we achieve this?
Thx
On Tuesday, March 4, 2014 1:14 AM, "basex-talk-request@mailman.uni-konstanz.de" basex-talk-request@mailman.uni-konstanz.de wrote:
Send BaseX-Talk mailing list submissions to basex-talk@mailman.uni-konstanz.de
To subscribe or unsubscribe via the World Wide Web, visit https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk or, via email, send a message with subject or body 'help' to basex-talk-request@mailman.uni-konstanz.de
You can reach the person managing the list at basex-talk-owner@mailman.uni-konstanz.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of BaseX-Talk digest..."
Today's Topics:
1. Re: import in xsd (Jan Techter) 2. Re: import in xsd (Andy Bunce) 3. BaseX 7.8.1 Update - Soft-Files.com (Soft-Files Team) 4. Error in webdav.xqm (France Baril)
----------------------------------------------------------------------
Message: 1 Date: Mon, 03 Mar 2014 12:08:23 +0100 From: Jan Techter techter@mailbox.tu-berlin.de To: Christian Gr?n christian.gruen@gmail.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] import in xsd Message-ID: 531462A7.7090609@mailbox.tu-berlin.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
thx for the info. I'll have to manage with absolute paths then for the time being.
Best, Jan
On 02/28/2014 08:23 PM, Christian Gr?n wrote:
Hi Jan,
the reason for the unexpected behavior may be that the referenced schema files cannot be retrieved from the database. Instead, they will be requested from the local system. One of the reasons is that schema validation is peformed by the standard Java validators, or by Saxon, and both of them have no access to database files.
Hope this helps, Christian ___________________________________
is the validation:xsd() function able to handle the import of other schemata? I tried to do something like
<import namespace="http://bibtexml.sf.net/" schemaLocation="bibtexml-handwritten.xsd"/>
to use types which are defined in this schema in my own schema. Both schema files are lying next to each other in the same basex database.
The validation function doesnt throw an error that the import failed. But rather only states that it can't resolve the types i used from the other schema:
Validation failed. "Fatal:src-resolve: Cannot resolve the name 'bibtex:entry' to a(n) 'type definition' component."
So it seems like it just ignores the import statement.
Best, Jan _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
------------------------------
Message: 2 Date: Mon, 3 Mar 2014 11:26:30 +0000 From: Andy Bunce bunce.andy@gmail.com To: Jan Techter techter@mailbox.tu-berlin.de Cc: BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] import in xsd Message-ID: CAPH12r2=6Y-n5KkjJiA+YWdt5M3Jn_UYisyZk02BG82AzBZFVg@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Could not a custom LSResourceResolverhttp://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/ls/LSResourceResolver.html[1] be created to handle loading from the database?
Regards /Andy
[1] http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/validation/Validator....
On Mon, Mar 3, 2014 at 11:08 AM, Jan Techter techter@mailbox.tu-berlin.dewrote:
Hi,
thx for the info. I'll have to manage with absolute paths then for the time being.
Best, Jan
On 02/28/2014 08:23 PM, Christian Gr?n wrote:
Hi Jan,
the reason for the unexpected behavior may be that the referenced schema files cannot be retrieved from the database. Instead, they will be requested from the local system. One of the reasons is that schema validation is peformed by the standard Java validators, or by Saxon, and both of them have no access to database files.
Hope this helps, Christian ___________________________________
is the validation:xsd() function able to handle the import of other
schemata? I tried to do something like
<import namespace="http://bibtexml.sf.net/" schemaLocation="bibtexml-handwritten.xsd"/>
to use types which are defined in this schema in my own schema. Both schema files are lying next to each other in the same basex database.
The validation function doesnt throw an error that the import failed. But rather only states that it can't resolve the types i used from the other schema:
Validation failed. "Fatal:src-resolve: Cannot resolve the name 'bibtex:entry' to a(n) 'type definition' component."
So it seems like it just ignores the import statement.
Best, Jan _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi iClays,
Is there a way to create a connection pool in basex as you would with applications that connects to oracle or sql server? How do we achieve this?
As BaseX client connections are pretty fast and light-weight, we don't provide any additional pool mechanism. But other users have also asked for a connection pool before. Have you already encountered any bottleneck with the provided solution?
Best, Christian
On Tuesday, March 4, 2014 1:14 AM, "basex-talk-request@mailman.uni-konstanz.de" basex-talk-request@mailman.uni-konstanz.de wrote: Send BaseX-Talk mailing list submissions to basex-talk@mailman.uni-konstanz.de
To subscribe or unsubscribe via the World Wide Web, visit https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk or, via email, send a message with subject or body 'help' to basex-talk-request@mailman.uni-konstanz.de
You can reach the person managing the list at basex-talk-owner@mailman.uni-konstanz.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of BaseX-Talk digest..."
Today's Topics:
- Re: import in xsd (Jan Techter)
- Re: import in xsd (Andy Bunce)
- BaseX 7.8.1 Update - Soft-Files.com (Soft-Files Team)
- Error in webdav.xqm (France Baril)
Message: 1 Date: Mon, 03 Mar 2014 12:08:23 +0100 From: Jan Techter techter@mailbox.tu-berlin.de To: Christian Gr?n christian.gruen@gmail.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] import in xsd Message-ID: 531462A7.7090609@mailbox.tu-berlin.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
thx for the info. I'll have to manage with absolute paths then for the time being.
Best, Jan
On 02/28/2014 08:23 PM, Christian Gr?n wrote:
Hi Jan,
the reason for the unexpected behavior may be that the referenced schema files cannot be retrieved from the database. Instead, they will be requested from the local system. One of the reasons is that schema validation is peformed by the standard Java validators, or by Saxon, and both of them have no access to database files.
Hope this helps, Christian ___________________________________
is the validation:xsd() function able to handle the import of other schemata? I tried to do something like
<import namespace="http://bibtexml.sf.net/"
schemaLocation="bibtexml-handwritten.xsd"/>
to use types which are defined in this schema in my own schema. Both schema files are lying next to each other in the same basex database.
The validation function doesnt throw an error that the import failed. But rather only states that it can't resolve the types i used from the other schema:
Validation failed. "Fatal:src-resolve: Cannot resolve the name
'bibtex:entry' to a(n) 'type definition' component."
So it seems like it just ignores the import statement.
Best, Jan _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Message: 2 Date: Mon, 3 Mar 2014 11:26:30 +0000 From: Andy Bunce bunce.andy@gmail.com To: Jan Techter techter@mailbox.tu-berlin.de Cc: BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] import in xsd Message-ID: CAPH12r2=6Y-n5KkjJiA+YWdt5M3Jn_UYisyZk02BG82AzBZFVg@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Could not a custom LSResourceResolverhttp://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/ls/LSResourceResolver.html[1] be created to handle loading from the database?
Regards /Andy
[1] http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/validation/Validator....
On Mon, Mar 3, 2014 at 11:08 AM, Jan Techter techter@mailbox.tu-berlin.dewrote:
Hi,
thx for the info. I'll have to manage with absolute paths then for the time being.
Best, Jan
On 02/28/2014 08:23 PM, Christian Gr?n wrote:
Hi Jan,
the reason for the unexpected behavior may be that the referenced schema files cannot be retrieved from the database. Instead, they will be requested from the local system. One of the reasons is that schema validation is peformed by the standard Java validators, or by Saxon, and both of them have no access to database files.
Hope this helps, Christian ___________________________________
is the validation:xsd() function able to handle the import of other
schemata? I tried to do something like
<import namespace="http://bibtexml.sf.net/"
schemaLocation="bibtexml-handwritten.xsd"/>
to use types which are defined in this schema in my own schema. Both schema files are lying next to each other in the same basex database.
The validation function doesnt throw an error that the import failed. But rather only states that it can't resolve the types i used from the other schema:
Validation failed. "Fatal:src-resolve: Cannot resolve the name
'bibtex:entry' to a(n) 'type definition' component."
So it seems like it just ignores the import statement.
Best, Jan _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de