jaxb and the "Unique Particle Attribution"

4 views
Skip to first unread message

andrea antonello

unread,
Jan 24, 2009, 3:28:24 AM1/24/09
to ML jugbz
Ciao a tutti, sto giocando un po' con jaxb per fare il binding di
schemi dell' open geospatial consortium, ma mi blocco ancora prima di
cominciare:

Eseguendo:
xjc -p my.package http://www.ogcnetwork.net/schemas/owc/0.3.0/owsContext.xsd

Ottengo questo bell'errore:

parsing a schema...
[ERROR] src-resolve: Cannot resolve the name
'gml:AbstractFeatureCollectionType' to a(n) 'type definition'
component.
line 189 of http://www.ogcnetwork.net/schemas/owc/0.3.0/owsContext.xsd

[ERROR] cos-nonambig: "http://www.opengis.net/ows-context":Extension
and "http://www.opengis.net/ows-context":Extension (or
elements from their substitution group) violate "Unique Particle
Attribution". During validation against this schema, ambigu
ity would be created for those two particles.
line 165 of http://www.ogcnetwork.net/schemas/owc/0.3.0/owsContext.xsd


Non essendo molto esperto, capisco in parte il problema, ma non riesco
a capire come risolverlo.
Magari qualche occhio esperto in lista ha qualche idea?

Grazie,
Andrea

Reply all
Reply to author
Forward
0 new messages