I am using application-level security and have created a login page. I have
added code to the top of other pages to re-direct to the login page if the
user is the default "nobody" user. But, if the login is successful, I then
want to re-direct back to the page the user was trying to reach (includin
Does anyone have any opinions or experience on performance issues if
databases/forests are held on systems on remote servers, and possibly even
on remote sites? I have a client who wants to hold the actual data for
different clients on separate servers (possibly on each client's site), but
I am
Hi,
I have developed code to allow users to add bookmarks and comments to
documents, and to delete them. Each add or delete operation completes with a
redirect to refresh the page (to show the new or removed comment or
bookmark), and the URL include a fragment identifier ("#...") at the end to
Hi,
I have an interactive application that lets users build and save complex
queries as XML files in the database. When the user adds (or deletes) a
parameter to one of the queries, I update the XML file, then re-direct to
the code that reads the XML file and presents the updated query.
So
Mary,
I dont think it is a caching issue, though I added you suggested code
below...
In any case, the page redirected to has the following the tag to
prevent such problems:
Here is the code that deletes a node from the XML file then re-directs to
the page that reads the XML file
General] Needing to wait for document update
Neil Bradley wrote:
> In any case, the page redirected to has the following the tag to
> prevent such problems:
>
>
>
>
I would not tend to rely on these. It'
c
Mitchell
Sent: 30 November 2007 09:51
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] Needing to wait for document update
Neil Bradley wrote:
> In any case, the page redirected to has the following the tag to
> prevent such problems:
>
>
>
Hi,
I have a client who wants to build a web application that would be made
accessible to several of their clients. Each of those clients would have an
administrator who would log-in to the site and be able to add more users
from that client.
These clients are very sensitive about their ow
Hi,
I have two WebDav folders set-up to access two separate projects/databases.
Both suddenly stopped working a few days ago without warning or apparent
explanation. Re-starting the computer, and MarkLogic, did not help, and my
HTTP servers are still working fine so I know the databases themsel
Hi,
I need to call my own Java application from MarkLogic. Obviously, MLJAM
looked like the way to go, so I installed and tested the MLJAM system (using
Tomcat because I could not get Jetty to work), including testing that the
FOP example worked, so I know that everything is working OK with the
It works fine now, thanks.
I was so sure that there was some complicated setup requirement that I was
missing, that I neglected to check that my code was correct. This is a
reminder to always check the simplest things first!
Thanks again,
Neil.
-Original Message-
From: [EMAIL PROTECT
Hi,
I am installing the new version of MarkLogic Server, and everything went
smoothly until I got the toe Security and Configuration Upgrade screen.
I clicked on "ok" to set that activity off, but that was about 90 minutes
ago.
I think that nothing happened from the moment I clicked o
atform-specific problem going
on.)
On Thu, 25 Sep 2008, Neil Bradley wrote:
> Hi,
>
>
>
> I am installing the new version of MarkLogic Server, and everything went
> smoothly until I got the toe Security and Configuration Upgrade screen.
>
>
>
> I clicked on "ok"
Hi,
I have a large XQuery application, including a module that is generated from
an XSLT process and is over 1.5 Mb in size. I am sure this is the cause of
the following error message I get when I try to access the application:
XDMP-MEMORY: Memory exhausted
If there was any doubt abou
Hi,
During experimenting with MarkLogic 4.0, I created a database, created an
HTTP server that connected to it, and later deleted the database. I then
tried to delete the app server, but could not because I get the following
error message as soon as I try to select it in order to delete it.
test'))
return $config
=>
[0.9-ml] ADMIN-DATABASEINUSE: The following http-servers still refer to
this database: test.
Which server release and OS are you using? Can you show us the code
you're using to delete the database, and to delete the orphaned app server?
-- Mike
On 2009-
Hi,
I want to check if there is likely to be any problem with memory exhaustion
in the following scenario.
I will have text documents stored in a MarkLogic database that I will to
update using a large number of consecutive search/replaces, then finally
convert to XML.
It seems obvious
arklogic.com
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of
> Neil Bradley
> Sent: vrijdag 9 oktober 2009 12:57
> To: general@developer.marklogic.com
> Subject: [MarkLogic Dev General] Text Updates Garbage Collection?
>
> Hi,
>
>
>
> I want to check if t
: [MarkLogic Dev General] RE: Text Updates Garbage Collection? (Neil
Bradley)
HI Neil,
Have you thought about using cts:highlight() to do the replacing of your
string values? You basically construct a cts:or-query(()) of all the
different values you'd like to replace:
let $q := cts:or-query(
e string values
with a new value.
Kelly
Message: 2
Date: Fri, 9 Oct 2009 15:37:39 +0100
From: "Neil Bradley"
Subject: RE: [MarkLogic Dev General] RE: Text Updates Garbage
Collection? (Neil Bradley)
To: "'General Mark Logic Developer Discussion'"
Hi,
I am trying to use a form to upload an XML file into a MarkLogic database,
but when my XQuery code tries to unquote the text in the package it reports
that the file is incomplete (it is truncated). I have confirmed this.
Here is the form I am using:
Hi,
I have a requirement to import data from spreadsheets and databases, using
tab-separated text format, which I convert to XML. The problem I am having
occurs when the source data comes from Excel and contains a pound symbol
(or, I suspect, any character with an ASCII value above 127).
In
logic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Neil Bradley
Sent: Thursday, December 03, 2009 1:30 AM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Upload Data via Form - Invalid UTF-8 Escape
Sequence
Hi,
I have a requirement to import data from spreads
ic.com
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of
> Neil Bradley
> Sent: donderdag 3 december 2009 20:42
> To: 'General Mark Logic Developer Discussion'
> Subject: RE: [MarkLogic Dev General] Upload Data via Form -
> Invalid UTF-8 Escape Sequence
>
> Dan
ae
l%20Blakeley%22+page:1+mid:dg7nu6sfjchpocm4+state:results
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Neil Bradley
Sent: Thursday, December 03, 2009 12:42 PM
To: 'General Mark Logic Developer Discu
Geert
> -Original Message-
> From: general-boun...@developer.marklogic.com
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of
> Neil Bradley
> Sent: vrijdag 4 december 2009 6:14
> To: 'General Mark Logic Developer Discussion'
> Subject: RE: [Ma
Hi,
I am using 4.1-1 and do not have a problem. My client is using 4.1-4 and
gets the following error, which I have pinpointed to the MLJAM function here
(the second replace):
define function jam:_escape-string(
$s as xs:string
) as xs:string
{
(: These replaces funny because arg2 i
ly already did, which is why you don't have a problem.
http://xqzone.marklogic.com/svn/mljam/releases/
-jh-
On Jan 21, 2010, at 1:34 PM, Neil Bradley wrote:
> Hi,
>
> I am using 4.1-1 and do not have a problem. My client is using 4.1-4 and
gets the following error, which I hav
Hi,
Maybe I am missing something, but normal mlcp export works OK, yet
when I include "-compress true" I get a ZIP file with many files and
directories missing from it.
I have established that it is the files and directories with a leading
"/" that are omitted (I usually include "/" to make them
t;> Van: general-boun...@developer.marklogic.com [mailto:general-
>> boun...@developer.marklogic.com] Namens "neil bradley"
>> Verzonden: woensdag 13 november 2013 17:56
>> Aan: general@developer.marklogic.com
>> Onderwerp: [MarkLogic Dev General] export bug
too seriously.
Neil.
on 13/11/13 5:38 PM, neil bradley wrote:
> Thanks, you are right. The problem is Windows built-in ZIP feature.
>
> The problem is described here...
>
> http://www.perlmonks.org/?node_id=1045404
>
> Thanks again.
>
> Neil.
>
> on 13/11/13 5:23
Hi,
For a long time I have written XQuery code in MarkLogic and seen error
messages whenever I forgot to add the “fn:” prefix to XPath functions
within library modules.
Recently (since moving to ML 7 I believe) I have not seen those
errors, so I just thought I was getting better at remembering to
Hi,
I am having two problems with processing instructions.
First, in general it seems I cannot create one that is before the root
element.
I can type this into QC and run it and the result is as expected:
I can also have one embedded in an element and again it is preserved
in the output:
Just one more point. I had thought I would solved the first, more minor
issue, by wrapping the XML in a document node. But that still does not
work...
document { }
Neil.
on 30/7/14 9:51 AM, neil bradley wrote:
> Hi,
>
> I am having two problems with processing instructions.
>
gt;
> let $doc := document {
> ,
>
> }
>
> let $parts := MyDoc.xml
> let $zip := xdmp:zip-create($parts, text { xdmp:quote($doc) })
(:
> quoted! :)
> let $save := xdmp:save("/tmp/test.zip", $zip,
> utf8)
> return "fixed"
>
> -jh-
>
happening because I'm seeing it work. And definitely to make a valid
> expression where there's a PI before the root you need the document node
> wrapper to make it one expression not two.
>
> -jh-
>
> On Jul 30, 2014, at 5:26 PM, neil bradley wrote:
>
>> Jas
cument.
>
> -jh-
>
> On Jul 30, 2014, at 5:48 PM, neil bradley wrote:
>
>> I am not saying that the ZIP solution does not work - I expect that it
> does.
>>
>> I am saying that the solution to construct an XML document in memory does
>> not work.
>
4 PM, Mary Holstege wrote:
> On Wed, 30 Jul 2014 01:51:12 -0700, neil bradley
> wrote:
>
>>
>> But it seems I cannot have a PI before a root element. This does not
>> work when I enter it into QC, and I get “unexpected token syntax
>> error”:
>>
>>
Hi,
I think there is a bug in the MarkLogic implementation of the
element.
It seems that you cannot have more than one character between regex
groups.
My original issue was date ranges, where there could be a “-“ or “- “
between the dates, and wasted some some investigating hyphens in
character
d\d\d)xy(\d\d\d\d)', "$1 and $2" , "i" )
> -> "2004 and 2006"
>
> So this looks xslt specific
>
> -Original Message-
> From: general-boun...@developer.marklogic.com
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Davi
Hi, I am having a problem working out how (if it is possible) to use
cts:search to find specific STANDALONE properties documents
(properties that are not associated with an actual document).
Every formulation of an XPath that I try either fails to find anything
that I know it should find, or says
I cant see why this causes a XDMP-CONFLICTINGUPDATES error. I am
replacing a node in the document and a node in its properties, which I
think should not conflict with each other.
xdmp:document-insert("/MyDoc.xml", )
,
xdmp:document-set-properties("/MyDoc.xml", )
;
xdmp:node-rep
Hi,
I am trying to use the management API to create a database, but the
documentation does not make clear what the root element in the body
should be, and I cannot find any details elsewhere.
This is the service I am calling:
POSThttp://localhost:8002/manage/v2/databases
I already creat
I think there is a bug in xdmp:get-request-field() when the parameter
contains a # character, even when it is URL-encoded. It seems that the
code that returns the parameter value assumes that # terminates the
value. And it still happens even if I add another # at the end of the
URL.
Here is some c
in place though..
>
> Kind regards,
> Geert
>
> On 10/12/15, 10:39 AM, "general-boun...@developer.marklogic.com on behalf
> of "neil bradley"" n...@bradley.co.uk> wrote:
>
>>I think there is a bug in xdmp:get-request-field() when the parameter
>&g
eert
>
> On 10/12/15, 10:39 AM, "general-boun...@developer.marklogic.com on behalf
> of "neil bradley"" n...@bradley.co.uk> wrote:
>
>>I think there is a bug in xdmp:get-request-field() when the parameter
>>contains a # character, even when it is URL-encoded. It seems th
reproduce on 7.0-5.1, nor on 8.0-3. Do you have any rewriting in
> between?
>
> Kind regards,
> Geert
>
> On 10/12/15, 11:07 AM, ""neil bradley"" wrote:
>
>>Sorry, in my previous response I meant to say "note", not "not", which
>
I am having a probkem with using near queries within not queries when
the queries are stored and used in a reverse query.
This fails, no matter how far apart "bad" and "word" are. The distance
value seems to be ignored. The query will not return the stored query
even if the words "bad" and "word"
se positives, which can turn into false negatives when wrapped in a
> not-query.
>
> Cheers,
> Geert
>
> On 12/23/15, 4:50 PM, "general-boun...@developer.marklogic.com on behalf
> of "neil bradley"" n...@bradley.co.uk> wrote:
>
>>I am having a pro
Hi, I have researched this question that I was asked today but could not
find anything.
Suppose we have a server A that has a primary forest A1, and another
server B that has a replicate of that forest (lets call it B1). They are
both E/D nodes.
If server B receives a query that requires reading
Hi,
Does anyone know how MarkLogic determines the host ID that is accessed
by xdmp:host()? Does it use information from the server or is it just a
random number?
The reason I am asking is that I am thinking of using the host ID as
part of a software licensing scheme. But I need to know how "re
Hi alll,
A forest was unavailable due to the following error:
XDMP:FORESTERR: Error in startup of forest .. XDMP:FILESIZES
Inconsistent file sizes for E:\Forests\.\\ Ordinals=0,
Qualitie=189, UniqueKeys=189, URIKeys=0, Timestamp=189
This was a replica forest. So I thought it would b
Josten wrote:
> Hi Neil,
>
> I for myself have not seen this error before. If you are entitled for
> support, I'd reach out to them..
>
> Cheers,
> Geert
>
> From: on behalf of neil bradley
>
> Reply-To: MarkLogic Developer Discussion
> Date:
53 matches
Mail list logo