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
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'
Hi,
I'm trying to validate a XML document against a copy of an external schema.
The XML document, called portlet.xml start with the following code:
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi