Keith,
The test case from my previous message works for me, using method="POST"
with 4.1-3 on linux and firefox 3.5.3. I'd suggest verifying that it
also works for you. Then you can begin to bisect the differences between
your code and this test case.
-- Mike
On 2009-10-26 11:10, Keith L. B
Judie,
The error indicates that the trigger is not associated with any alerting
configuration. Here is some example code showing creation of create and
modify triggers. The last three lines are key to associate the triggers
with your alerting configuration.
xquery version "1.0-ml";
Dhivya,
There is a sample application included with the distribution, mentioned
at the end of the section on alerting in the search developers guide:
http://developer.marklogic.com/pubs/4.1/books/search-dev-guide.pdf
Did you verify that your triggers are really being created in your
trig
> return fn:concat($fi/id/text(), "|", $fi/addr/text(), "|", $fi/city/text(),
> "|", $fi/state/text(), "|", $de/test/text(), "|", $de/test1/text())
With a common delimiter like that, string-join() can be used:
string-join(($fi/id, $fi/addr, $fi/city, $fi/state, $de/test, $de/test1), '|')
--
This is likely due to the text format max document size in MarkLogic Server.
For 32-bit systems, it is 16MB. For 64-bit systems, it is 64MB.
The info for this and the other document formats (XML and Binary) are in the
“Loading Documents...” Chapter of the Application Developer’s Guide.
-Dann
I apologize for the errant PUT. I have in fact tried with the method="post"
and that is in fact the only method that gives the 405 error.
The method="put" was an attempt on my part to find a way around this problem.
Again, it is only on method='post' that I get the 405 error.
Keith L. Breinhol
After fixing some more items in the XML I was able to produce the
following:
let $doc :=
Test1
10 Main St
Baltimore
MD
TestA
Test1A
TestB
Test1B
TestC
Test1C
Test2
20 York St
Pasadena
CA
Test2A
Test2A
a
Sorry for pointing you to the wrong book.Thanks for the correction Mano.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
anuj.kum...@cognizant.com
Sent: Monday, October 26, 2009 5:42 AM
To: general@developer.marklogic.com
Su
They're just text nodes Test1 and Test2. Typo, my mistake
From: bindu.wav...@flatironssolutions.com
Subject: Re: [MarkLogic Dev General] Generate CSV Output
Date: Mon, 26 Oct 2009 11:36:30 -0600
To: general@developer.marklogic.com
Tony,
Should Test1 and Test2 be elements , or are they sup
Tony,
Should Test1 and Test2 be elements , or are they
supposed to be text nodes for the id Test1 and Test2?
Bindu Wavell
Consultant: Tech Lead
+1 (720) 436-8146 | Office - Cell
bindu.wav...@flatironssolutions.com
Flatirons Solutions
http://www.flatironssolutions.com
On Oct 26, 2009, at
If I have data returned from my query that looks like this:
10 Main St
Baltimore
TestA
Test1A
TestB
Test1B
TestC
Test1C
20 York St
Pasadena
CA
Test2A
Test2A
I would like
Keith,
You've written POST, but your form has method="PUT". I believe that's
where the 405 is coming from. When I tested with Firefox, it appeared to
silently rewrite that as a "GET". If you are using IE, the results might
be different: perhaps it's sending the PUT, and your form-handling code
IIRC, that funky A character is what you see when you look at UTF-8
data with a Latin-1 viewer. My guess is the document is loaded
correctly, Mark Logic is returning it in UTF-8 encoding to your
viewer, and it's just that your viewer is mistakenly using Latin-1 to
display it to you.
-jh-
I'm trying to POST a file to an web service interface that I've written. The
webservice uses a URL rewriter that translates the web service URLs to the
actual code that will do the work and hides the actual .xqy extensions from the
end users.
So we have some application code that does a post l
Hi,
I have some files in ISO-8859-1 format. I loaded those documents in MarkLogic
using the following code,
xdmp:document-load("d:\myFile.xml",
/docs/myFile.xml xml
ISO-8859-1 )
But when I look at the generated XML file, I saw "Â" character in many places,
which was not there in the input X
Thanks again George. Installing the update worked!
On Wed, Oct 21, 2009 at 2:44 PM, Mattio Valentino
wrote:
> Thanks George! That certainly sounds like it might be the culprit.
> I'll update this thread when I find out for sure.
>
> On Wed, Oct 21, 2009 at 2:37 PM, Florentine, George
> wrote:
>
Thanks mano
Regards,
Anuj Kumar
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of mano m
Sent: Monday, October 26, 2009 5:36 PM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] cts:reverse-query
Hi all,
I have created an alert trigger for a document delete. when i tried to delete a
document its throwing some error in the log.
Since the trigger was set to call at post commit, the document is getting
deleted but the action was not occured.
Error Log:
ALERT-TRIGGER (e
Hi,
Please refer the "search-dev-guide.pdf" - chapter 10
Regards,
Mano
From: "anuj.kum...@cognizant.com"
To: general@developer.marklogic.com
Sent: Mon, 26 October, 2009 1:28:11 PM
Subject: RE: [MarkLogic Dev General] cts:reverse-query() in Alerting
Hi ,
I
Hi ,
I have gone through dev_guide document but I could not find the chapter
“Creating Alerting Applications”.
Where is it? Please help.
Regards,
Anuj Kumar
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: S
Hi,
I need to extract a zip file within MarkLogic, which contains text file with
size more than 16MB. After unzipping the text file, I create XML file with the
help of it. But it seems we cannot unzip any text file within MarkLogic with
size more than 16MB. In this case, how should I proceed?
21 matches
Mail list logo