You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2008/03/11 00:18:25 UTC

DO NOT REPLY [Bug 40897] String comparisons using '==' causes validation errors with some parsers

https://issues.apache.org/bugzilla/show_bug.cgi?id=40897


Robert Egglestone <r....@auckland.ac.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.egglestone@auckland.ac.nz




--- Comment #2 from Robert Egglestone <r....@auckland.ac.nz>  2008-03-10 16:18:25 PST ---
I've run into this problem while running under WebLogic (the same app runs fine
on Tomcat).

Would it be possible to do a quick == comparison, and then only do .equals if
it fails?

Would interning all namespaces mean that an attacker could cause the server to
run out of memory by sending requests which contain lots of random namespaces?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.