mountainbiker | 6 May 11:12 2016
Picon

http://localhost:8080/exist/status not as localhost?

I was just curious if 

    http://localhost:8080/exist/status

could be run 

    http://blah.blahblah.com:8080/exist/status?token=...

    ... = webapp/WEB-INF/data/jmxservlet.token

--
View this message in context: http://exist.2174344.n4.nabble.com/Can-http-localhost-8080-exist-status-not-as-localhost-tp4670188.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Alberto Simões | 5 May 10:19 2016
Picon
Gravatar

Re: [DELIVER]Re: Learning XForms



Huuu... looks good!

On Thu, May 5, 2016 at 8:59 AM, Adam Law <adamlaw <at> adamlaw.email> wrote:
Xonomy might be a good solution




--
Alberto Simões
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Alberto Simões | 4 May 13:06 2016
Picon
Gravatar

Learning XForms

Hi

What is the resource you suggest to learn XForms (to use with eXist)?
The eXist book covers too few on that, and didn't want to buy the O'Reilly XForms book (at least, not so soon).

Thanks
ambs

--
Alberto Simões
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Toma Tasovac | 3 May 17:31 2016
Gravatar

no diacritics in a range index?

Hi,

is there a way to ingore diacritics in a range index —  not the Lucene full-text but something along the lines of:

<collection xmlns="http://exist-db.org/collection-config/1.0">
   
<index>
       
<create qname="orth" type="xs:string" diacritics="no" />
   
</index>
</collection>

The above doesn’t work, but perhaps there is some other way?

All best,
Toma 
--
Belgrade Center for Digital Humanities

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Masoud Vakili | 3 May 14:06 2016
Picon

Backup Error

Hi all,
I have a schedule for every day backup. I'm found the following error at the end of log file, recently :
COLLECTION: /db/system/scheduler
  DOCUMENT: 1000 of 10087
  DOCUMENT: 2000 of 10087
  DOCUMENT: 3000 of 10087
  DOCUMENT: 4000 of 10087
  DOCUMENT: 5000 of 10087
  DOCUMENT: 6000 of 10087
  DOCUMENT: 7000 of 10087
  DOCUMENT: 8000 of 10087
  DOCUMENT: 9000 of 10087
  DOCUMENT: 10000 of 10087
  DOCUMENT: 10087 of 10087
----------------------------------------------
RESOURCE_ACCESS_FAILED:
Failed to access document data
Document ID: 4357

How can I found the mentioned document and resolve it?!

thanks
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
stefan.du-chateau@orange.fr | 29 Apr 12:31 2016
Picon

SAX exception while parsing request: Content is not allowed in prolog

Hello,


I want to upload  file.

I use the following code (en.wikibooks.org)

<Html xmlns = "http://www.w3.org/1999/xhtml">
    <Head>
        <Title> HTML Upload </ title>
    </ Head>
    <Body>
        <Form enctype = "multipart / form-data" method = "post" action = "upload.xq">
            <Fieldset>
                <Legend> Upload Document: </ legend>
                <Input type = "file" name = "file" />
                <Input type = "submit" value = "Upload" />
            </ Fieldset>
        </ Form>
    </ Body>
</ Html>



let $ collection: = '/ db / test / upload-test'
let $ filename = request: get-uploaded-file-name ( 'file')

(: Make sour you use the right user permissions That HAS write access to this collection :)
let $ login: = xmldb: login ($ collection, 'admin', 'my-admin-password')
let blind $: = xmldb: store ($ collection, $ filename, request: get-uploaded-file-data ( 'file'))

return
<Results>
   <Message> File {$ filename} has-been Stored at collection = $ {collection}. </ Message>
</ Results>



But I recovered the following Error:

SAX exception while parsing request: Content is not allowed in prolog.

Where is the problem ?

Best regards

-- Stefan du Château
--

Vous utilisez la version libre et gratuite d'OBM, développée et supportée par Linagora.
Contribuez à la R&D du produit en souscrivant à une offre entreprise.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Welblaud | 27 Apr 13:17 2016
Picon
Gravatar

Strange error – “empty” binary files

Dear all,

I have just met a very strange thing. I am working on a book full of
illustrations. All of them are jpegs. There is a problem with some of them:

1) they are present in DB;
2) I can check any information about them (in the collection browser as well
as the browser in eXide);
3) I can open them in eXide (silly, just for the test);
4) they have absolutely identical parameters (rights, group and user
assignment, mime-type) as other files;
5) I can download it from within eXide and it is all right;

but

5) it is not possible to display them via REST (others are OK), code 404
returned;
6) if I pack them into ePub automatically with other images, they are empty
(their size is 0).

What is going on? Any hint more than welcome!

Greetings from Prague,

Honza Hejzl

--
View this message in context: http://exist.2174344.n4.nabble.com/Strange-error-empty-binary-files-tp4670127.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Honza Hejzl | 26 Apr 21:46 2016
Picon
Gravatar

Strange error – “empty” binary files

Dear all,

I have just met a very strange thing. I am working on a book full of illustrations. All of them are jpegs. There is a problem with some of them.

1) they are present in DB;
2) I can check any information about them (collection browser as well as browser in eXide);
3) I can open them in eXide (silly, just for the test);
4) they have absolutely identical parameters (rights, group and user assignment) as other files;

but

5) it is not possible to display them via REST (others are OK), code 404 returned;
6) if I pack them into ePub automatically with other images, they are empty (their size is 0).

What is going about here? Any hint more than welcome!

Greetings from Prague,

Honza Hejzl
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Rémi Koutchérawy | 30 Apr 13:37 2016
Picon
Gravatar

Re: SAX exception while parsing request: Content is not allowed in prolog

Le 29/04/2016 14:20, stefan.du-chateau <at> orange.fr a écrit :
> Where is the problem ?
Many typo in your code  ;-)
- <Legend></ legend> instead of <legend></legend>
- ${filename} instead of {$filename}
- "multipart / form-data" instead of "multipart/form-data"

Source https://en.wikibooks.org/wiki/XQuery/Uploading_Files
seems obsolete, too complex and misleading...

You may try this "a-test.xql" self-supporting :
xquery version "3.0";
declare option exist:serialize "method=xhtml media-type=text/html";
<html>
<head/>
<body>
     <form enctype="multipart/form-data" method="post" action="a-test.xql">
         <input type="text" name="collection" value=""/>
         <input type="file" name="data"/>
         <input type="submit" name="upload"/>
     </form>
     {
         if (request:get-parameter('upload', ())) then (
             try {
             let $collection := request:get-parameter('collection', '')
             let $file-name := request:get-uploaded-file-name('data')
             let $file-data := request:get-uploaded-file-data('data')
             let $store-result := xmldb:store($collection, $file-name, 
$file-data)
             return
                 <div>File [{$file-name}] stored at : 
[{$store-result}]</div>
             } catch * {
                 <div>Error: {$err:code||": "||$err:description}</div>
             }
         )
         else ()
     }
</body></html>

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Joe Wicentowski | 29 Apr 18:18 2016
Picon
Gravatar

response:stream-binary function signature

Hi all,

The function documentation for response:stream-binary() states that
the function returns item(), but it seems that "something else"
happens to the results - they're streamed out to the HTTP session, not
to the query engine.  Thus a function like the one below fails when
evaluated in eXide (full code sample below):

--
(: snip:)
let $response := response:stream-binary($binary-data, $content-type, $filename)
return
    $response instance of item()
--

I'd expect eXide to return "true", but instead it returns:

  "Server Error
iVBORw0KGgoAAAANSUhEUgAAAO0AAABuCAMAAAD8t2TLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1QTFRF"...

I'm guessing that functions from the response module are "special"
since they have side effects outside the database, so the behavior is
actually by design rather than a bug, but I couldn't come up with a
coherent explanation in my response to Honja (in
http://stackoverflow.com/questions/36937514/return-type-error-in-exist-db#comment61444798_36939879)
about why the function refuses to be constrained by its own documented
return type.  Is there a better explanation than my guess?

Thanks,
Joe

---
xquery version "3.0";

(: binary data adapted from
http://www.bigfastblog.com/embed-base64-encoded-images-inline-in-html
:)

let $binary-data :=
xs:base64Binary('iVBORw0KGgoAAAANSUhEUgAAAO0AAABuCAMAAAD8t2TLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1QTFRF////LVcpkauOZYdhrsStx9jF1uTV+//66PPn8vzy4uji7vft4O3f+P/38fPwC7dd6gAACdxJREFUeNrsXIti2yoMNYiHiSH//7kXCXD8AmTaddudta1zEht0QOhIgnSaHnnkkUceeeSRv1vszzRlv7OjL2hoUZEwTSHUNHIsoLYJ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gAAAAASUVORK5CYII=')
let $content-type := 'image/png'
let $filename := 'html_inline_image.png'
let $response := response:stream-binary($binary-data, $content-type, $filename)
return
    $response instance of item()

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Welblaud | 27 Apr 13:25 2016
Picon
Gravatar

Strange error—“empty” binary files

Dear all,

I have just met a very strange thing. I am working on a book full of
illustrations. All of them are jpegs. There is a problem with some of them:

1) they are present in DB;
2) I can check any information about them (in the collection browser as well
as the browser in eXide);
3) I can open them in eXide (silly, just for the test);
4) they have absolutely identical parameters (rights, group and user
assignment, mime-type) as other files;
5) I can download them from within eXide and they are OK;

but

5) it is not possible to display them via REST (others are OK), code 404
returned;
6) if I pack them into ePub automatically with other images, they are empty
(their size is 0).

What is going on? Any hint more than welcome!

Greetings from Prague,

Honza Hejzl 

--
View this message in context: http://exist.2174344.n4.nabble.com/Strange-error-empty-binary-files-tp4670130.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

Gmane