Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4E3B60DA for ; Mon, 4 Jul 2011 12:51:44 +0000 (UTC) Received: (qmail 50069 invoked by uid 500); 4 Jul 2011 12:51:44 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 49997 invoked by uid 500); 4 Jul 2011 12:51:44 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 49983 invoked by uid 99); 4 Jul 2011 12:51:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 12:51:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rabastus@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-iy0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 12:51:39 +0000 Received: by iym10 with SMTP id 10so4791915iym.6 for ; Mon, 04 Jul 2011 05:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6kr8QHGYqp5MZRmoyWZ5DY1k7Cr34UMuNAF8WHHY1LM=; b=m4wAwKmlM1zeEOUl9pXVCZWp7HkOg3oSoefN6N9U/jqFdHDrYmffjWaTWeUNj0OXwm XJOe/TlQfdZnV68JvoPsZ/wNM3m0G23D9ixJdhhWU5rwaZfEbzzv56sbNl9FwH0Qa8XN AManiTgWs78cg+5fRKqbqY5IK0RyWlD17iS3c= MIME-Version: 1.0 Received: by 10.42.147.3 with SMTP id l3mr6229224icv.214.1309783878513; Mon, 04 Jul 2011 05:51:18 -0700 (PDT) Sender: rabastus@gmail.com Received: by 10.42.247.193 with HTTP; Mon, 4 Jul 2011 05:51:18 -0700 (PDT) In-Reply-To: <010e01cc3a02$c5abfbb0$5103f310$@acm.org> References: <010e01cc3a02$c5abfbb0$5103f310$@acm.org> Date: Mon, 4 Jul 2011 08:51:18 -0400 X-Google-Sender-Auth: Q3301fD8ExzaUBv0r_fEn9te4Lw Message-ID: Subject: Re: Uh oh: OpenOffice.org XML Namespaces and Sun Mediatypes From: Rob Weir To: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Java projects that move to Apache have a similar issue. They often convert from their pre-existing package structure to an org.apache.foo structure. Not sure if that is mandatory or not, but they seem to like to converge on an Apache namespace. But I think XML namespaces are different, since they are embedded in the documents as well, not only the code. As such there are additional interoperability implications. The apps that read and write settings in the namespace form an interoperable space. If we changed the namespace in our documents, we'd break interoperability. So I'd recommend an approach like this: 1) For new settings, adopt an Apache name space 2) For old settings, to the extent that we remain compatible with their legacy behavior, we should preserve the same legacy namespace 3) If we eve break legacy behavior then we should also change the namespace. In other words, things that are not compatible should not use the same namespace. 4) If there are settings that we find are critical for multiple applications, like OpenOffice, LibreOffice, Symphony, RedOffice, etc., then we should promote them into a future revision of the ODF standard, into an ODF namespace. -Rob On Mon, Jul 4, 2011 at 12:28 AM, Dennis E. Hamilton wrote: > It just occurred to me that a place for some sort of common agreement, an= d publication of what they mean, are the OpenOffice.org Namespaces. =C2=A0I= assume these "belong" to OpenOffice.org, but governance of namespaces is o= dd business. =C2=A0These are also something to coordinate with the LibreOff= ice folk and others who use these namespaces for any purpose. =C2=A0Most of= all, they need to be defined. > > (This occurred to me reading about macro-recording in LibreOffice Calc, a= nd it flashed before my eyes that this is an implementation-dependent featu= re introduced by an (undocument as far as I know) namespace binding: > > Here is the bunch that tend to be spit out in the beginning of ODF files = used within packages as part of fixed boilerplate in the root element: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:ooo=3D"http://openoffice.org/2004/office= " > > =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:oooc=3D"http://openoffice.org/2004/calc" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:ooow=3D"http://openoffice.org/2004/write= r" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:rpt=3D"http://openoffice.org/2005/report= " > > =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:tableooo=3D"http://openoffice.org/2009/t= able" > > The URIs all generate 404s. > > There are significant uses as in establishment of > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > where the attribute values are QNames and they introduce a pot-full of un= qualified item names that are specific to the QNames, above. > > And then there are MIME media types: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0application/vnd.sun.xml.ui.configuration > > for a subdocument "Configurations2/" in ODF packages produced by *OpenOff= ice.org producers. > > There are other application/vnd.sun.... MIME media types in use as well. > > =C2=A0- Dennis > > > > >