Return-Path: X-Original-To: apmail-sis-user-archive@www.apache.org Delivered-To: apmail-sis-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C36C17937 for ; Fri, 13 Feb 2015 00:23:24 +0000 (UTC) Received: (qmail 23348 invoked by uid 500); 13 Feb 2015 00:23:24 -0000 Delivered-To: apmail-sis-user-archive@sis.apache.org Received: (qmail 23319 invoked by uid 500); 13 Feb 2015 00:23:24 -0000 Mailing-List: contact user-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@sis.apache.org Delivered-To: mailing list user@sis.apache.org Received: (qmail 23307 invoked by uid 99); 13 Feb 2015 00:23:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 00:23:24 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of emmanuel.blondel1@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 00:23:18 +0000 Received: by mail-wg0-f54.google.com with SMTP id y19so13468329wgg.13 for ; Thu, 12 Feb 2015 16:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=+Nceu0UML+d317PVOOxKlsjuU6TptKf3QLugRuVBq5s=; b=DKuWHkXK/Vz1mi4zLWHg10aJe09r3+0NZBTxUW6P/gGmi0J2nhV/QMKCDS12+ldeab XQaQeMbf8Oll3M58uJfMEIkIJ+heKgYktu3Rc6+Dq/5fLFzClw3ikk/tUQM9aB/vXQ7H j2IZW4wVXh6+7dggnuCEk9KESLTVE4tMv9BAJ8CPJjpLP1k3vU+IRtLOzZw+aj4pWxFC K049glir9IHNk3qiWONRa/F/JxiAy4C2z92on3Ok5Ir9rEx75v5+ac756KyAY3h+YDBA hVZcT9pZ2mz5pcTeKNAq6mljY5nbhbxe3aJLxABsYfje9xdhTvZSV+wV4a5rhr1ySKyB s7Bw== X-Received: by 10.194.2.43 with SMTP id 11mr1591982wjr.104.1423786932699; Thu, 12 Feb 2015 16:22:12 -0800 (PST) Received: from [127.0.0.1] (ANantes-655-1-25-11.w90-25.abo.wanadoo.fr. [90.25.76.11]) by mx.google.com with ESMTPSA id fd10sm4600949wib.4.2015.02.12.16.22.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 16:22:11 -0800 (PST) Message-ID: <54DD43B2.1080502@gmail.com> Date: Fri, 13 Feb 2015 01:22:10 +0100 From: Emmanuel Blondel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: user@sis.apache.org Subject: Re: Question about TimePeriod & auto-generated id References: <54DCFC21.1050900@gmail.com> <54DD0379.4080103@geomatys.fr> <54DD2025.80602@gmail.com> <54DD2893.5000808@geomatys.fr> <54DD3918.4080101@gmail.com> <54DD3D7E.5060908@geomatys.fr> In-Reply-To: <54DD3D7E.5060908@geomatys.fr> Content-Type: multipart/alternative; boundary="------------000406030607010408060602" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000406030607010408060602 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Indeed, this is what i was trying.. with 3.2 and 3.2.0, it still gives http://www.opengis.net/gml/3.2 For 3.1 / 3.1.1, i get a JAXBException.. Le 13/02/2015 00:55, Martin Desruisseaux a écrit : > Le 13/02/15 00:36, Emmanuel Blondel a écrit : >> I've made some attempts, and finally, after debugging, i've noticed >> that the wrong Geonetwork UI behavior was not due temporal primitive >> xml representation, but simply.. to the gml schema used for >> MD_Metadata. Geotk 3.21 was relying on http://www.opengis.net/gml, >> moving to Apache SIS, the default GML version is the latest one: >> http://www.opengis.net/gml/3.2 >> >> Previous GML versions seems unsupported.. >> I had found this ticket: >> https://issues.apache.org/jira/browse/SIS-160 which seems related to >> the above problem >> >> Any advice? > > I would suggest to try to set this property, in the same place than we > did previously for : > > http://sis.apache.org/apidocs/org/apache/sis/xml/XML.html#GML_VERSION > > Try setting the property to "3.1". This is a very incomplete support > (really just scratching the surface), but if my memory serve me right > it would fix the namespace. > > Martin > > --------------000406030607010408060602 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Indeed, this is what i was trying.. with 3.2 and 3.2.0, it still gives http://www.opengis.net/gml/3.2
For 3.1 / 3.1.1, i get a JAXBException..

Le 13/02/2015 00:55, Martin Desruisseaux a écrit :
Le 13/02/15 00:36, Emmanuel Blondel a écrit :
I've made some attempts, and finally, after debugging, i've noticed that the wrong Geonetwork UI behavior was not due temporal primitive xml representation, but simply.. to the gml schema used for MD_Metadata. Geotk 3.21 was relying on http://www.opengis.net/gml, moving to Apache SIS, the default GML version is the latest one: http://www.opengis.net/gml/3.2

Previous GML versions seems unsupported..
I had found this ticket: https://issues.apache.org/jira/browse/SIS-160 which seems related to the above problem

Any advice?

I would suggest to try to set this property, in the same place than we did previously for <gco:CharacterString>:

http://sis.apache.org/apidocs/org/apache/sis/xml/XML.html#GML_VERSION

Try setting the property to "3.1". This is a very incomplete support (really just scratching the surface), but if my memory serve me right it would fix the namespace.

    Martin



--------------000406030607010408060602--