Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-06 Thread Justin Deoliveira
On Wed, Dec 5, 2012 at 8:25 AM, Andrea Aime wrote:

> On Wed, Dec 5, 2012 at 3:22 PM, Justin Deoliveira wrote:
>
>> Not sure what is actionalble out of this thread but would it help to
>> update all of our internal schemas to the latest schemas that contain all
>> the xlink fixes? Especially the gml 3.2 schema which seems to have factored
>> out all the iso schema (gcd, gmx, etc...)
>
>
> Yep, that was my idea.
> I believe I'd leave the factored out ISO schemas where they are though (in
> terms of position among the geotools sources),
> just overwrite them with the newer versions of the schema files, like the
> GML ones.
>
Works for me. May as well update all the schemas while we are at it.

>
> And then run the builds, and the WFS 2.0 cite tests... errr... or maybe
> not... we don't have them?
> OGC still hasn't issued those tests?
>
Nope. afaik there has been no ows/cite initiative for developing the wfs
2.0 compliance tests yet.

>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-05 Thread Andrea Aime
On Wed, Dec 5, 2012 at 3:22 PM, Justin Deoliveira wrote:

> Not sure what is actionalble out of this thread but would it help to
> update all of our internal schemas to the latest schemas that contain all
> the xlink fixes? Especially the gml 3.2 schema which seems to have factored
> out all the iso schema (gcd, gmx, etc...)


Yep, that was my idea.
I believe I'd leave the factored out ISO schemas where they are though (in
terms of position among the geotools sources),
just overwrite them with the newer versions of the schema files, like the
GML ones.

And then run the builds, and the WFS 2.0 cite tests... errr... or maybe
not... we don't have them?
OGC still hasn't issued those tests?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-05 Thread Justin Deoliveira
Not sure what is actionalble out of this thread but would it help to update
all of our internal schemas to the latest schemas that contain all the
xlink fixes? Especially the gml 3.2 schema which seems to have factored out
all the iso schema (gcd, gmx, etc...)


On Wed, Dec 5, 2012 at 2:25 AM, Ben Caradoc-Davies <
ben.caradoc-dav...@csiro.au> wrote:

> On 04/12/12 23:41, Andrea Aime wrote:
>
>> However, all the schemas in the main gml 3.2 are also different in some
>> way,
>> thought I've not verified to what extent)
>>
>
> When Justin created the original GML 3.2.1 bindings, he modified or
> removed several types in xsd files to break cyclic type definitions that
> were then not handled by xmlcodegen. When I changed xmlcodegen to support
> cyclic definitions, I reverted most of the workarounds Justin implemented.
> The only changes that are still necessary are the paths in import and
> include statements because the directory layout used by Justin does not
> match that used by OGC (for sensible java packaging reasons). This should
> be transparent to users of the Configuration. The information model should
> be almost identical.
>
> I also added a copy of the old xlinks schema to satisfy dependencies:
> geotools/modules/extension/**xsd/xsd-gml3/src/main/**
> resources/org/geotools/gml3/**v3_2/xlinks.xsd
>
> app-schema has been widely tested in production with the GML 3.2.1
> bindings (WaterML, SWE, O&M2, ...). There are a couple of types where the
> Java bindings are incomplete, but in general support is pretty good.
>
> What makes you think your pain is caused by the XLink changes? I agree
> that this is a plausible cause, but I wonder, what are the symptoms?
>
> Kind regards,
>
> --
> Ben Caradoc-Davies 
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-05 Thread Ben Caradoc-Davies
On 04/12/12 23:41, Andrea Aime wrote:
> However, all the schemas in the main gml 3.2 are also different in some way,
> thought I've not verified to what extent)

When Justin created the original GML 3.2.1 bindings, he modified or 
removed several types in xsd files to break cyclic type definitions that 
were then not handled by xmlcodegen. When I changed xmlcodegen to 
support cyclic definitions, I reverted most of the workarounds Justin 
implemented. The only changes that are still necessary are the paths in 
import and include statements because the directory layout used by 
Justin does not match that used by OGC (for sensible java packaging 
reasons). This should be transparent to users of the Configuration. The 
information model should be almost identical.

I also added a copy of the old xlinks schema to satisfy dependencies:
geotools/modules/extension/xsd/xsd-gml3/src/main/resources/org/geotools/gml3/v3_2/xlinks.xsd

app-schema has been widely tested in production with the GML 3.2.1 
bindings (WaterML, SWE, O&M2, ...). There are a couple of types where 
the Java bindings are incomplete, but in general support is pretty good.

What makes you think your pain is caused by the XLink changes? I agree 
that this is a plausible cause, but I wonder, what are the symptoms?

Kind regards,

-- 
Ben Caradoc-Davies 
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-05 Thread Andrea Aime
On Tue, Dec 4, 2012 at 11:45 PM, Jody Garnett wrote:

>  Andrea do we have any chance of doing what the OGC wants? Ie cutting cold
> turkey over to the new/official xlink schema (even for all the old
> schemas?).
>
> I understand they have retroactively applied the official xlink schema to
> all the old standards… does that have a chance of working for us?
>

Hmm... I have little hope. What I was hoping to do was to at least update
the GML 3.2 world (and iso subset) to the new schemas,
so that at least validation works there.

Rationale is, they are relatively new and there is little implementation
around, so we should be able to update at least those
with minimal damage

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-04 Thread Jody Garnett
Andrea do we have any chance of doing what the OGC wants? Ie cutting cold 
turkey over to the new/official xlink schema (even for all the old schemas?).  

I understand they have retroactively applied the official xlink schema to all 
the old standards… does that have a chance of working for us?  

--  
Jody Garnett


On Wednesday, 5 December 2012 at 3:41 AM, Andrea Aime wrote:

> On Tue, Dec 4, 2012 at 12:24 PM, Andrea Aime  (mailto:andrea.a...@geo-solutions.it)> wrote:
> > Hi,
> > I was trying to setup the code so that it can validate WCS 2.0 documents, 
> > but
> > right now it seems mission impossible due to OGC's handywork with Xlink
> > and deep GML 3.2.1 changes...
> >  
> > Basically, the validation of a WCS 2.0 caps document fails because WCS
> > refers GML 3.2.1 via the gmlcov schemas, and the GML 3.2 schemas
> > we have in the classpath are still referring to the old XLink stuff,
> > and do not look at all similar to what 3.2.1 is.
> >  
>  
>  
> Sigh, unfortunately this is also affecting request validation, meaning that 
> in GeoServer
> a request with "?strict=true", forcing the validation, will also fail due to 
> xlink
> issues.
>  
>  
>  
> Cheers
> Andrea
>   
>  
>  
> --  
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
> information.
> ==
>  
> Ing. Andrea Aime  
> @geowolf
> Technical Lead
>  
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>  
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>  
> ---
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
>  
> ___
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net 
> (mailto:GeoTools-Devel@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>  
>  


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-04 Thread Andrea Aime
On Tue, Dec 4, 2012 at 12:24 PM, Andrea Aime
wrote:

> Hi,
> I was trying to setup the code so that it can validate WCS 2.0 documents,
> but
> right now it seems mission impossible due to OGC's handywork with Xlink
> and deep GML 3.2.1 changes...
>
> Basically, the validation of a WCS 2.0 caps document fails because WCS
> refers GML 3.2.1 via the gmlcov schemas, and the GML 3.2 schemas
> we have in the classpath are still referring to the old XLink stuff,
> and do not look at all similar to what 3.2.1 is.
>

Sigh, unfortunately this is also affecting request validation, meaning that
in GeoServer
a request with "?strict=true", forcing the validation, will also fail due
to xlink
issues.



Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] GML and XLink changes causing grief in WCS 2.0 validation

2012-12-04 Thread Andrea Aime
On Tue, Dec 4, 2012 at 12:24 PM, Andrea Aime
wrote:

> Indeed, GML 3.2.1 seems a lot simpler than the GML 3.2 we have in the
> classpath.
> Compare this:
>
> https://github.com/geotools/geotools/tree/master/modules/extension/xsd/xsd-gml3/src/main/resources/org/geotools/gml3/v3_2
> with this:
> http://schemas.opengis.net/gml/3.2.1/
>
> Where did all the schemas in gco,gmd and so on go? Those are the fellas
> referring to xlink btw.
>

To answer myself, here is where they went (I believe):
http://schemas.opengis.net/iso/19139/20070417/

However, all the schemas in the main gml 3.2 are also different in some way,
thought I've not verified to what extent)

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel