No whitespace, no BOM. Why would that be different in ML 6.0?
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tim Meagher
Sent: Friday, December 14, 2012 12:09 PM
To: 'Mike Sokolov'; 'MarkLogic Developer Discussion'
Subject: Re: [MarkLogic Dev General] XDMP-BADPINAME:
xdmp:get-request-body("xml")
I do need to check the document. Looks like I omitted part of the error
message:
XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing
instruction name "xml" at line 1
-----Original Message-----
From: Mike Sokolov [mailto:[email protected]]
Sent: Friday, December 14, 2012 12:02 PM
To: MarkLogic Developer Discussion
Cc: Tim Meagher
Subject: Re: [MarkLogic Dev General] XDMP-BADPINAME:
xdmp:get-request-body("xml")
Totally random guess, but is the xml declaration in your document preceded
by anything else? White space? A BOM?
On 12/14/2012 11:16 AM, Tim Meagher wrote:
> XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing
> instruction name "xml" at line 1
>
> Can someone tell me what this is about? "xml" is one of the allowable
> types per the documentation at
> http://docs.marklogic.com/xdmp:get-request-body?q=xdmp:get-request-body .
> I've been running this code regularly on ml 4.1 but it is failing on
> ml 6.0.2.
>
> Tim Meagher
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general