<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi juergen,<br>
<br>
In the JAXB binding classes of geotk, the attribute
"metaDataProperty" is not supported for GML 3.1.1<br>
I think its handled in 3.2.1 version but because this attribute
has a kind of dynamic content, its pretty hard to read for JAXB.<br>
<br>
You are free to parse the SensorML file with another parsing
factory, or use a dom parser.<br>
<br>
Guilhem Legal<br>
<br>
Le 02/12/2014 10:21, juergen sorg a écrit :<br>
</div>
<blockquote cite="mid:547D8495.10204@fz-juelich.de" type="cite">hi,
<br>
<br>
i tried to parse a sensorml with geotoolkit 3.19
<br>
<br>
the parsing works, but on "output" elements we have a metadata
element (sensorml conform. see sensorml fragment below) child that
determines an offering the "output" belongs to.
<br>
<br>
now my question: how can i change geotoolkit sensorml parsing to
parse also the metadata element.
<br>
<br>
can i introduce a new parsing factory?
<br>
or is it possible to use a cursor and traverse the metadata
subtree with dom capabilities.
<br>
<br>
btw. , it is not (easily) possible for me to compile the
geotoolkit/sis with maven (maven verion 3 is required, and some
other exceptions are occure when compiling it)
<br>
<br>
thanks in advance
<br>
<br>
gruss juergen
<br>
<br>
<br>
<br>
<br>
<sml:output name="AirRelativeHumidity2m"
xlink:type="simple">
<br>
<swe:Quantity
definition="AirRelativeHumidity2m">
<br>
<gml:metaDataProperty>
<br>
<offering>
<br>
<id>Climate</id>
<br>
<name>Climate</name>
<br>
</offering>
<br>
</gml:metaDataProperty>
<br>
<gml:description />
<br>
<swe:uom code="%"
xlink:type="simple" />
<br>
</swe:Quantity>
<br>
</sml:output>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a></pre>
</blockquote>
<br>
</body>
</html>