I've noticed I'm missing the schema references in the xml file.
i.e.
xmlns="http://<address>/PI" *
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://<address>/PI " +
"http://<address>/schemas/version1.0/schemas/timeseries.xsd"
I've generated the java objects using the timeseries.xsd schema:
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ex="http://<address>/PI" targetNamespace="http://<address>/PI"
elementFormDefault="qualified">
<include schemaLocation="types.xsd"/>
<element name="TimeSeries" type="ex:TimeSeriesComplexType">
<annotation>
<documentation>Time series data represent data
collected over a given period of time at a specific location</documentation>
</annotation>
</element>
I haven't been able to find where to set the values.
Could you point me towards a basic example of xmlns= ... xmlns:xsi=...
xsi:schemaLocation ...
Thanks.
--
View this message in context:
http://old.nabble.com/How-to-set-xmlns%3D-...--xmlns%3Axsi%3D...-xsi%3AschemaLocation%3D-...-tp31001478p31001478.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email