Re: xmlvalidate without doctype against dtd

2011-02-24 Thread Stefan Bodewig
On 2011-02-24, Lukacs, Gabriel wrote: > is it possible to validate (via ANT xmlValidate) an xml file > (without ) against DTD schema stored locally on > filesystem? No the xmlvalidate task can't do this since the parser won't use the DTD if there is no DOCTYPE specified. XMLUnit can do that[

RE: xmlvalidate without doctype against dtd

2011-02-24 Thread Martin Gainty
at present no you would need to identify a mechanism to load a 3rd party schema such as what axis uses in codegen.thirdparty.schema property seen here codegen.thirdparty.schema=xmime.xsd,soap-enc.xsd which is processed by a loadAdditionalSchema method here /** * Loading the external sc