Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84B591813F for ; Thu, 13 Aug 2015 19:42:46 +0000 (UTC) Received: (qmail 51792 invoked by uid 500); 13 Aug 2015 19:42:46 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 51600 invoked by uid 500); 13 Aug 2015 19:42:46 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 51481 invoked by uid 500); 13 Aug 2015 19:42:46 -0000 Delivered-To: apmail-incubator-sis-commits@incubator.apache.org Received: (qmail 51477 invoked by uid 99); 13 Aug 2015 19:42:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 19:42:46 +0000 Date: Thu, 13 Aug 2015 19:42:46 +0000 (UTC) From: "Martin Desruisseaux (JIRA)" To: sis-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SIS-192) Suppression of "3.2" in "http://www.opengis.net/gml/3.2" does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Desruisseaux resolved SIS-192. ------------------------------------- Resolution: Fixed > Suppression of "3.2" in "http://www.opengis.net/gml/3.2" does not work > ---------------------------------------------------------------------- > > Key: SIS-192 > URL: https://issues.apache.org/jira/browse/SIS-192 > Project: Spatial Information Systems > Issue Type: Bug > Components: Metadata > Affects Versions: 0.4, 0.5 > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > Fix For: 0.6 > > Attachments: GML_version.patch > > > Representation of a temporal primitive in a metadata objects uses GML. However the namespace of those objects depends on the GML version: > * Before GML 3.2.1, it was http://www.opengis.net/gml > * Starting with GML 3.2.1, it is http://www.opengis.net/gml/3.2 > Apache SIS defaults to the latest supported version of each standard. However it does not work with other software which expect GML 3.2. The namespace was supposed to be controllable as below: > {code:java} > Result out = ...; // Where to write the XML (Writer, OutputStream, etc.). > Map properties = new HashMap<>(); > properties.put(XML.GML_VERSION, "3.2"); > XML.marshal(metadata, out, properties); > {code} > However the above does not change the namespace as expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)