« Return to Thread: Error 400 after update, solved by querying Function Library

Re: Error 400 after update, solved by querying Function Library

by Dannes Wessels-2 :: Rate this Message:

Reply to Author | View in Thread

These are the conflicting lines:

                //TODO: change these to putting the XmldbURI in, but
we need to warn users!
                context.declareVariable("xinclude:current-doc",
document.getFileURI().toString());
                context.declareVariable("xinclude:current-collection",
document.getCollection().getURI().toString());

so either document==null or getFileURI() returns null...... hmmmmmm let's debug.

cheers

D.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

 « Return to Thread: Error 400 after update, solved by querying Function Library

LightInTheBox - Buy quality products at wholesale price