Simon Kitching <[EMAIL PROTECTED]> writes:

Ki ora, Simon ;)

Yes, it's good that you asked about this since I didn't specify it in my
query.  Right after instantiating the digester instance, I called:

   digester.setNamespaceAware(true);
   digester.setValidating(true);

   // with or without this line, the behavior is the same.  I may not
   // have the URL exactly right here; this is from memory and not
   // cut & pasted from the actual code
   digester.setSchemaLanguage("http://www.w3.org/XMLSchema";);


> Hi,
> 
> Sorry to ask the obvious, but have you called
>   digester.setValidating(true)
> immediately after creating the digester instance?
> 
> On Thu, 2003-08-07 at 18:53, Steve Byrne wrote:
> 
> > I'm trying to get digester to do XML Schema validation based off the schema
> > referenced in the input XML file.  I have tried doing
> > digester.setSchema("foo.xsd"), and that works, but I want to have the schema
> > used for validation instead be selected by the incoming XML file.  
> 
> 
> 


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

Reply via email to