Re: xml file with the wrong namespace passes validation

2008-03-05 Thread Guillaume Laurent
On Monday 03 March 2008 18:00:30 Michael Glavassevich wrote: > > The JAXP 1.3 Validation API is better suited for what you want to do. If > you use a Schema [1] (created by the SchemaFactory [2]) for validation any > xsi: schema location hints in your document will be ignored. Thank you very much,

Re: xml file with the wrong namespace passes validation

2008-03-03 Thread Michael Glavassevich
Hi Guillaume, The JAXP 1.3 Validation API is better suited for what you want to do. If you use a Schema [1] (created by the SchemaFactory [2]) for validation any xsi: schema location hints in your document will be ignored. Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/par