[owasp-antisamy] DOM vs SAX, empty elements

James Manico jim at manico.net
Mon Jun 25 16:59:36 UTC 2012

SAX parser seems right in this case.

Jim Manico
(808) 652-3805

On Jun 25, 2012, at 5:56 PM, Dan Rabe <dan.rabe at oracle.com> wrote:

> I thought I remembered seeing some discussion of this before, but I can't find it at the moment, so my apologies if this has already been covered somewhere.
> For the input document "<p></p>", the DOM parser returns an empty string, but the SAX parser returns "<p></p>". I'm not sure which should be considered "right", but I was wondering if the difference in behavior was a known issue, and if so, are there plans to resolve it?
> Thanks!
> --Dan
> _______________________________________________
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-antisamy

More information about the Owasp-antisamy mailing list