[auscope-geosciml] Error in v3.0 GeologicUnit.xsd schema
Boisvert, Eric
Eric.Boisvert at RNCan-NRCan.gc.ca
Thu Aug 26 10:47:51 EDT 2010
Can you fill a TRAC ticket ?
>(Note this contains some Deliberate Mistakes to encourage debate. It most likely also contains some Stupid Mistakes but, if confronted, I will pretend they were deliberate.)
yeah, right.
________________________________
De : auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] De la part de Alistair Ritchie
Envoyé : 26 août 2010 10:19
À : AuScope-GeoSciML
Objet : [auscope-geosciml] Error in v3.0 GeologicUnit.xsd schema
HI Ollie
I'm putting the finishing touches to a GeoSciML v3.0 GeologicUnit WFS (see below for a sample request) and at the moment I can't get a valid response because I can't encode gsmlcore:RockMaterial/gsmlcore:constituent/gsmlcore:ConstituentPart/gsmlcore:role properly.
I understand it should encode as:
<gsmlcore:role xlink:href="http://some.uri" xlink:title="phenocryst"/>
but the schema is forcing:
<gsmlcore:role>
<gsmlcore:ConstituentPartRoleTerm>phenocryst</gsmlcore:ConstituentPartRoleTerm>
</gsmlcore:role>
Which aint valid.
Missing a byReference attribute?
Cheers
Alistair
Sample request:
http://gsv-ws.dpi.vic.gov.au/testbed/geosciml/3.0/geologicunit/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=gsmlcore:GeologicUnit&featureid=gsml.geologicunit.167775491107839026,gsml.geologicunit.1677754911513320813,gsml.geologicunit.167775491233249466,gsml.geologicunit.167775491107838881,gsml.geologicunit.16777549126930435,gsml.geologicunit.16777549126931513,gsml.geologicunit.1677754911513320638,gsml.geologicunit.16777549126941912,gsml.geologicunit.167775491233249723
(Note this contains some Deliberate Mistakes to encourage debate. It most likely also contains some Stupid Mistakes but, if confronted, I will pretend they were deliberate.)
Alistair Ritchie
GEOSCIENCE VICTORIA | EARTH RESOURCES DIVISION
Department of Primary Industries | Melbourne, Victoria, Australia
Tel: +61 3 9658 4512 | Fax: +61 3 9658 4555
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20100826/12d0046c/attachment.htm>
More information about the GeoSciML
mailing list