On Wed, 20 Oct 2004 13:17:25 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > i would like to parse a XML file through Struts AND also according to a XML > schema. > > so may question is...what is the method to validate a XML file with a XML > Schema before parsing it? >
Besides needing a parser that understands Schema, you'll also need a schema definition for Struts configuration files. Currently, Struts provides only a DTD (but it will do a validating parse of the configuration file if you ask it to). > thank you > > YR Craig > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]