Return-Path: Delivered-To: apmail-xerces-j-users-archive@www.apache.org Received: (qmail 47749 invoked from network); 21 Aug 2009 15:49:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 15:49:25 -0000 Received: (qmail 53068 invoked by uid 500); 21 Aug 2009 15:49:47 -0000 Delivered-To: apmail-xerces-j-users-archive@xerces.apache.org Received: (qmail 53027 invoked by uid 500); 21 Aug 2009 15:49:47 -0000 Mailing-List: contact j-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-users@xerces.apache.org Delivered-To: mailing list j-users@xerces.apache.org Received: (qmail 53019 invoked by uid 99); 21 Aug 2009 15:49:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 15:49:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.195.15.139] (HELO web111502.mail.gq1.yahoo.com) (67.195.15.139) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Aug 2009 15:49:36 +0000 Received: (qmail 41702 invoked by uid 60001); 21 Aug 2009 15:49:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250869754; bh=TG7mDuGhaS4aQWwAeLyzizKFWE7MpolPRaU14G7U2fI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=T1NKzfscyEiRo9UMBXsZwdpWsjWJBMyj3n4mjNeaDGinbmXjVNy6lCeqYATzlK9B+yVIbnCKz03wOHV4D6eqQ9kNFMpOByYPrti6SL+wZF+ANKciB0DYmhE42m1VXdPtmA/wpff7RCUyMCBP3JzJOlcb49qyeDcZcde9usFd0Pw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=oOVRhZgAnq9adIOcsC6ImVx4qJxXeLVztAohobKr7ySA6XJDU3jHk7J96im8ECiwIVTEDrFzYo5P+pC1FZnbw/gNaVMDX15SAyUmht26ddSFm6NuwQh9L9EHw5GH+mJWvnnlKAlzBX0VKD+/isbtT95w38g7uqVuFcja9gEv9D0=; Message-ID: <630773.41677.qm@web111502.mail.gq1.yahoo.com> X-YMail-OSG: r6vbF70VM1lQ7l1a.rOdv53i9V4KsXpnhMdyysqQ05Hh6TKpe7qOXvCev1s440QwBz32TIXDQVPdsmHu1XQN15kZuGWqZ1iuCTYflleH6Ob.CDq23VTyIABOHLHmP_vTPQ3D.27NYIcOiZqhPW.d5euqPfuyOy2ELDL751HIVfoS4ikZT7R.MZBlwpW0dYIK3bzOyBBYExBPaPTKZtRZkS_YpVRYQ4v.BpilsdbqBA0cW3Cw9aRKuY95RevLEQ_n6xGN9gkmPpN2GqMkTmZv98IsVtk4EkJ_pN0G25apOqH.ISrwPLmAYpw2X5IuyoOBr3nK Received: from [194.78.35.185] by web111502.mail.gq1.yahoo.com via HTTP; Fri, 21 Aug 2009 08:49:14 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.1 Date: Fri, 21 Aug 2009 08:49:14 -0700 (PDT) From: ajay bhadauria Subject: Attribute validation Error To: j-users@xerces.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am validating xml instance against schema using java Validator API with DOMsource. Now, Suppose, there is an error in one of the attributes of the element. I am able to get the element node using current-element-node property and the Validator is reporting error that attribute (name of the attribute) is not allowed in element. That is all good. Is there any way that Validator can tell that which attribute has in error though in the error message it tells that. Or I need to parse the error message to get the name of the attribute ? Please recommend Thanks AB --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org For additional commands, e-mail: j-users-help@xerces.apache.org