guykirschbaum
asked on
entityExpansionLimit warning
Hello
I am aware of the reason and significance of entityExpansionLimit property of XMLParser in Java but...
I have an application which needs to be aware of the count of the entities reached so far so once it get close to the limitation, a warning will popup.
Is there a chance to accomplish that? How can I check when I reach that limit but one step before that crucial moment where my data becoames invalid?
Thanks
I am aware of the reason and significance of entityExpansionLimit property of XMLParser in Java but...
I have an application which needs to be aware of the count of the entities reached so far so once it get close to the limitation, a warning will popup.
Is there a chance to accomplish that? How can I check when I reach that limit but one step before that crucial moment where my data becoames invalid?
Thanks
you could use SAX to do the parsing.
ASKER
Hi
Why will that do good?
If there's no limitation in SAX's parser than I create a security hole (after all this limitation is to prevent denial of service) and if there's a limitation than why is it different?
Thanks
Why will that do good?
If there's no limitation in SAX's parser than I create a security hole (after all this limitation is to prevent denial of service) and if there's a limitation than why is it different?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.