Project

General

Profile

Actions

Bug #1122

open

XML document is a string in HttpServerletRequest object

Added by Jing Tao over 20 years ago. Updated over 17 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
07/29/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1122

Description

When morpho or loadxml.html in metacat upload a xml document to metacat, it
allways stores the xml document in a parameter named "doctext". Servelet will
store this parameter name and value (xml documentment itself) into a hashtable.
And xml document will be stored as a String in memory. So if xml document is
big ( huge inline data in eml2 document), it will cause memory problem.

The option we can choose is, using a stream (or reader) connecting client side and servlet
directly, rather than transfer the xml document to a string. Our SAX parser wil
parse the stream.

Actions

Also available in: Atom PDF