In 1.4.x when using util:document-name() or util:document-id on a
base64binary the system attempts to load the entire file into memory as a
If you look at org.exist.xquery.functions.DocumentNameOrId.java around line
100 you will see that the function just assumes that the supplied parameter
is a string/uri if the parameter is not a Node.
I'm not sure what the correct fix for this is, but I thought it should be
brought up. I have a directory with some mp3's in it, and it takes a very
very long time to load the file listing in our code.
easyDITA a product of Jorsek LLC
"CaseyDJordan" on LinkedIn, Twitter & Facebook
(585) 348 7399
This message is intended only for the use of the Addressee(s) and may
contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law. If you are not the intended recipient,
please be advised that any disclosure copying, distribution, or use of
the information contained herein is prohibited. If you have received
this communication in error, please destroy all copies of the message,
whether in electronic or hard copy format, as well as attachments, and
immediately contact the sender by replying to this e-mail or by phone.
Get latest updates about Open Source Projects, Conferences and News.