I've been trying to get that working, but unfortunatelly Xerces1 doesn't have interface to implement
schema grammar caching (1), which means that for every message it parses your schema file(s) over again.
Maybe somebody else can comment on whether schema grammar caching can be implemented with Xerces2..

1. http://xml.apache.org/xerces-j/faq-general.html#faq-5


Please respond to xerces-j-user <[EMAIL PROTECTED]>; Please respond to holger <[EMAIL PROTECTED]>

To:        "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:        

Subject:        Really, Really fast validation

Does anyone have any tips or tricks in validating an XML schema really, really fast. Ie. sub second validation with 1-2k messages and 370k of schema files.


I've tried loading the schema to a hashmap, but it still takes 2-10 seconds to validate depending on the platform (NT and Solaris) and java version (1.1, 1.3).

Thanks

Holger




--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to