Re: XML validation using a external schema local copy

2007-03-19 Thread Vitor Carreira
Michael, thank you very much. Problem solved setting the property correctly: portletParser.setProperty( "http://apache.org/xml/properties/schema/external-schemaLocation";, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd " + new File("portlet.xsd").toURL().toExternalForm() + " htt

Re: XML validation using a external schema local copy

2007-03-19 Thread Michael Glavassevich
Hi Vitor, The external schema location properties have the same definitions as the ones defined in the schema spec [1]. The value of external-schemaLocation is a list of pairs of URIs, where the first of each pair is a target namespace and the second of each pair is a schema location hint. You'