Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 88227 invoked from network); 1 Nov 2007 07:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 07:05:11 -0000 Received: (qmail 3023 invoked by uid 500); 1 Nov 2007 07:04:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 3005 invoked by uid 500); 1 Nov 2007 07:04:58 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 2996 invoked by uid 99); 1 Nov 2007 07:04:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 00:04:58 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 07:05:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1InU6a-00024k-Ch for users@jackrabbit.apache.org; Thu, 01 Nov 2007 00:04:40 -0700 Message-ID: <13524222.post@talk.nabble.com> Date: Thu, 1 Nov 2007 00:04:40 -0700 (PDT) From: loproman To: users@jackrabbit.apache.org Subject: CND Reader Error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: loproman@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm trying to define custom node types using the CND reader example found at: http://jackrabbit.apache.org/doc/nodetype/cnd.html I started out trying my own example, and was receiving a ParseException no matter how simple I made my input. After reading and re-reading the documentation, I tried plugging in the example provided in the documentation to see what happened: [ns:NodeType]>ns:ParentType1, ns:ParentType2 o m -ex:property='default1','default2' ! m a p * version <'constraint1', 'constraint2' +ns:node(ns:reqType1,ns:reqType2)=ns:defaultType m a p * version After doing so, I am still getting a ParseException, "Error while parsing 'ex:property'." I checked the encoding of my file (which is a standard txt file on Windows XP SP2.) I found it to be encoding type Cp1252, and I also verified that the file I was trying to open was opening by printing out the contents. At this point, I don't know what I am doing wrong. I am using the 1.3.3 build. Any ideas? -- View this message in context: http://www.nabble.com/CND-Reader-Error-tf4729712.html#a13524222 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.