Thank you for the answer but...

I have no parser validating/understanding schema XML, so which one?, and how
can I make my struts config understand Schema validation?

I know it can be easy for you but it is not clear for me...

Thanks

-----Message d'origine-----
De : Craig McClanahan [mailto:[EMAIL PROTECTED]
Envoye : mercredi 20 octobre 2004 19:41
A : Struts Users Mailing List
Objet : Re: Struts - XML - Validation according to a XML Schema


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]

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

Reply via email to