I've used Source Generator to generate my classes from an XSD that is provided as part of the JSR 168 portlet specification. However it chokes when unmarshalling the following:

<?xml version="1.0" encoding="UTF-8"?>
<portlet-app xmlns="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:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";>
<portlet>
...


Notice that xsi:schemaLocation attribute has 2 urls separated by a space or newline I guess. When I change it to just one url it works:

xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";

Any idea what the problem could be-- I tried setting debug to true on the castor.properties file but that didn't give me any useful info.

   Thanks, Jason



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to