Even with validation disabled it has to resolve and parse the DTDs, since
some things like default attributes take effect even without validation.

There are various ways you can speed up this process, such as having your
own EntityResolver that caches or just fails to return stuff, of course,
if you remove the DTDs then you may get a different document...

-Tom

On Thu, 16 Jan 2003, Gili wrote:

> Date: Thu, 16 Jan 2003 08:21:47 -0500 (EST)
> From: Gili <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: [dom4j-user] Slow parsing
>
> Hi,
>
>       It takes DOM4J approximately 900ms to parse a 5 line XML document off a
> ByteInputStream *with validation disabled*. Is that normal? I'm expecting times under
> 500ms .. more like 200ms.
>
> Gili
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Thawte.com
> Understand how to protect your customers personal information by implementing
> SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
> Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user
>



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to