Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 20106 invoked from network); 14 Jan 2011 16:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2011 16:44:16 -0000 Received: (qmail 21813 invoked by uid 500); 14 Jan 2011 16:44:15 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 21665 invoked by uid 500); 14 Jan 2011 16:44:13 -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 21650 invoked by uid 99); 14 Jan 2011 16:44:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 16:44:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 16:44:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0EGhlYR016910 for ; Fri, 14 Jan 2011 16:43:47 GMT Message-ID: <25159526.370651295023427660.JavaMail.jira@thor> Date: Fri, 14 Jan 2011 11:43:47 -0500 (EST) From: "Stefan Guggisberg (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2833) Definition of a property with '-' in the name (e.g.: wrprop:e-mail) is wrongly interpreted by CompactNodeTypeDefReader In-Reply-To: <23889471.24131291731670846.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Guggisberg resolved JCR-2833. ------------------------------------ Resolution: Invalid you should enclose the name in quotes , e.g. tst = 'http://namespace.org/tst'> [tst:JCR2833] mixin - "tst:e-mail" (string) see "25.2.3 CND Grammar" of the JSR-283 spec: Quotes are used to allow for strings (i.e., names, prefixes, URIs, values or constraint strings) with characters that would otherwise be interpreted as delimiters in CND. > Definition of a property with '-' in the name (e.g.: wrprop:e-mail) is wrongly interpreted by CompactNodeTypeDefReader > ----------------------------------------------------------------------------------------------------------------------- > > Key: JCR-2833 > URL: https://issues.apache.org/jira/browse/JCR-2833 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 2.1.2 > Reporter: Luca Tagliani > > Registering a nodetype with a property with '-' inside the name lead to the creation of a property every '-' found. > E.g.: > ... > - wrprop:e-mail > ... > creates a property wrprop:e and a property mail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.