Chris,
Your scenario involves unknown data and
unknown schemas. If the sources of your inputs are not trusted, you are opening
yourself to a wide range of potential problems (such as DoS attacks).
Stan
--------------------------------------
Stan Kitsis,
Webdata - XML
Microsoft Corporation
--------------------------------------
From: Chris Wilper
[mailto:cwilper@cs.cornell.edu]
Sent: Monday, February 27, 2006
5:54 PM
To: xml dev
Subject: [xml-dev] Bulk XSD
validation in Java
Hi all,
I've got a java process that needs to continously validate xml documents
according to the w3c schemas they indicate in their xsd:schemaLocations.
The documents arrive at a high rate and must be processed as quickly as
possible. The exact schemas they employ are not known ahead of time and
there may be several of them required to validate each document.
My question is, what library/libraries are appropriate in this situation and
how do I tell them to only load the required schema(s) only once? Any
advice?
Thanks,
Chris