Yes, complex features will take that into account too.

On 07/10/2018 02:04 PM, Andrea Aime wrote:
Hi Tim,
I'm not sure if it's going to help with complex features too, but try to go in the WFS service configuration, and set it to use the canonical schema locations:




Cheers
Andrea

On Tue, Jul 10, 2018 at 2:53 PM, Tim Balschmiter <[email protected] <mailto:[email protected]>> wrote:

    Hi Geoserver-Community,

    i´m still using geoserver in version 2.13.1 combined with the
    app-schema plugin. I´ve added a lots of namespaces and everything seems
    to work fine. But the XML-Output of this request:

    
http://geo.sv.rostock.de/inspire/us-govserv-schools/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=us-govserv-schools:GovernmentalService&outputFormat=gml32&count=1
    
<http://geo.sv.rostock.de/inspire/us-govserv-schools/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=us-govserv-schools:GovernmentalService&outputFormat=gml32&count=1>

    is not valid.


    In my opinion the xml uses the wrong schemalocation:

     xsi:schemaLocation="http://www.opengis.net/wfs/2.0
    <http://www.opengis.net/wfs/2.0>
    http://geo.sv.rostock.de/inspire/schemas/wfs/2.0/wfs.xsd
    <http://geo.sv.rostock.de/inspire/schemas/wfs/2.0/wfs.xsd>
    http://inspire.ec.europa.eu/schemas/us-govserv/4.0
    <http://inspire.ec.europa.eu/schemas/us-govserv/4.0>
    http://inspire.ec.europa.eu/schemas/us-govserv/4.0/GovernmentalServices.xsd
    
<http://inspire.ec.europa.eu/schemas/us-govserv/4.0/GovernmentalServices.xsd>
    http://www.opengis.net/gml/3.2
    http://geo.sv.rostock.de/inspire/schemas/gml/3.2.1/gml.xsd
    <http://geo.sv.rostock.de/inspire/schemas/gml/3.2.1/gml.xsd>"


    When i changed it to:

     xsi:schemaLocation="http://www.opengis.net/wfs/2.0
    <http://www.opengis.net/wfs/2.0>
    http://schemas.opengis.net/wfs/2.0/wfs.xsd
    <http://schemas.opengis.net/wfs/2.0/wfs.xsd>
    http://inspire.ec.europa.eu/schemas/us-govserv/4.0
    <http://inspire.ec.europa.eu/schemas/us-govserv/4.0>
    http://inspire.ec.europa.eu/schemas/us-govserv/4.0/GovernmentalServices.xsd
    
<http://inspire.ec.europa.eu/schemas/us-govserv/4.0/GovernmentalServices.xsd>
    http://www.opengis.net/gml/3.2
    http://schemas.opengis.net/gml/3.2.1/gml.xsd
    <http://schemas.opengis.net/gml/3.2.1/gml.xsd>"

    the validation is correct.


    Maybe some you can explains, whats going wrong.

    best regards
    Tim



    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    Geoserver-users mailing list

    Please make sure you read the following two resources before posting to
    this list:
    - Earning your support instead of buying it, but Ian Turton:
    http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/>
    - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html>

    If you want to request a feature or an improvement, also see this:
    
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    
<https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer>


    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users>




--

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- /Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail./



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

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

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to