On Mon, Jul 21, 2014 at 3:47 PM, Eugenio Trumpy <[email protected]>
wrote:

> Thank you Andrea for the answer,
> of course I can move to 2.5.x I don't know how long does it take, and if
> the migration
> is soft or hard. If I have to deploy the new version only repointing the
> data_dir
> I can do it in a while.
>
> I wondering if it does solve my problem.
> However put the gml output here in attach.
>
>

Ah ok, found the reason, you are using attribute names that make the xml
invalid:

<IGG:name>France</IGG:name>
      <IGG:area>5.48780908430388E11</IGG:area>
      <IGG:1990_mwe>4.2</IGG:1990_mwe>
      <IGG:1995_mwt>599.0</IGG:1995_mwt>
      <IGG:1995_h_tjy>7350.0</IGG:1995_h_tjy>
      <IGG:1995_mwe>4.2</IGG:1995_mwe>
      <IGG:2000_mwt>326.0</IGG:2000_mwt>
      <IGG:2000_h_tjy>4895.0</IGG:2000_h_tjy>
      <IGG:2000_mwe>4.2</IGG:2000_mwe>
      <IGG:2005_mwt>308.0</IGG:2005_mwt>
      <IGG:2005_h_tjy>5195.7</IGG:2005_h_tjy>
      <IGG:2005_mwe>15.0</IGG:2005_mwe>
      <IGG:2010_mwt>1345.0</IGG:2010_mwt>
      <IGG:2010_h_tjy>12929.0</IGG:2010_h_tjy>
      <IGG:2010_mwe>16.0</IGG:2010_mwe>
      <IGG:2013_mwe>17.0</IGG:2013_mwe>

An attribute name in xml cannot start with a number. It is your
responsibility
to ensure that, you'll have to either modify your source data, or if you
are working
against a database, use a sql view to rename the fields starting with a
number

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

-------------------------------------------------------
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to