From dev-return-31348-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue May 3 21:06:42 2011 Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D39422080 for ; Tue, 3 May 2011 21:06:42 +0000 (UTC) Received: (qmail 4132 invoked by uid 500); 3 May 2011 21:06:42 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3985 invoked by uid 500); 3 May 2011 21:06:42 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 3951 invoked by uid 99); 3 May 2011 21:06:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 21:06:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 21:06:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 26230BF306 for ; Tue, 3 May 2011 21:06:03 +0000 (UTC) Date: Tue, 3 May 2011 21:06:03 +0000 (UTC) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <2133532887.19759.1304456763153.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1173801832.51203.1302568625668.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (JCR-2941) Serialization of privileges should use xml namespaces 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/JCR-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra reopened JCR-2941: ----------------------------------- Assignee: Tobias Bocanegra (was: angela) i really think we should not abuse explicit NS declarations in the document that are not used by the elements. either use proper XML names or use the expanded format. i will provide a patch. > Serialization of privileges should use xml namespaces > ----------------------------------------------------- > > Key: JCR-2941 > URL: https://issues.apache.org/jira/browse/JCR-2941 > Project: Jackrabbit Content Repository > Issue Type: Sub-task > Components: security > Affects Versions: 2.3.0 > Reporter: Tobias Bocanegra > Assignee: Tobias Bocanegra > Priority: Minor > Fix For: 2.3.0 > > > the current serialization of privileges does not make use of the namespace capabilities of an xml document. for example > > > > > the namespace needs to be explicitly defined in the document node, although not used in any of the elements. i think a better format would be: > > > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira