From: Sandeep [mailto:[EMAIL PROTECTED] 
> http://apache.org/xml/features/nonvalidating/load-external-dtd
> True:         Load the external DTD.
> False:        Ignore the external DTD completely.
> Default:      true
> Note:         This feature is always on when validation is on.
> 
> So, if you want the xml to be validated against the schema but
> ignore dtd fetching, it is not possible.
> 
> Is there any other way, I can ignore that non-existent dtd?

I can think of only the following options:

1) Use Castor's validation **instead of** the XML parser's validation.
2) Use a different XML parser that allows enabling schema validation
   while disabling DTD validation.


        Eddie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to