Return-Path: Delivered-To: apmail-xerces-c-users-archive@www.apache.org Received: (qmail 56442 invoked from network); 22 Sep 2009 18:19:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 18:19:28 -0000 Received: (qmail 85501 invoked by uid 500); 22 Sep 2009 18:19:28 -0000 Delivered-To: apmail-xerces-c-users-archive@xerces.apache.org Received: (qmail 85483 invoked by uid 500); 22 Sep 2009 18:19:28 -0000 Mailing-List: contact c-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-users@xerces.apache.org Delivered-To: mailing list c-users@xerces.apache.org Received: (qmail 85473 invoked by uid 99); 22 Sep 2009 18:19:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 18:19:27 +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 [70.85.31.65] (HELO codesynthesis.com) (70.85.31.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 18:19:16 +0000 Received: from onega.codesynthesis.com (wbs-41-208-237-221.wbs.co.za [41.208.237.221]) (authenticated bits=0) by codesynthesis.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id n8MIIpEd028385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 22 Sep 2009 14:18:54 -0400 Received: from onega.codesynthesis.com (localhost [127.0.0.1]) by onega.codesynthesis.com (8.14.3/8.14.3/Debian-9) with ESMTP id n8MIRgoe027178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 22 Sep 2009 20:27:43 +0200 Received: (from boris@localhost) by onega.codesynthesis.com (8.14.3/8.14.3/Submit) id n8MIRgJG027176 for c-users@xerces.apache.org; Tue, 22 Sep 2009 20:27:42 +0200 Date: Tue, 22 Sep 2009 20:27:42 +0200 From: Boris Kolpackov To: c-users@xerces.apache.org Subject: Re: BUG found in IGXMLScanner2.cpp Message-ID: References: <609365C6-EC59-4A8E-93EF-8F38330DC96F@redsnapper.net> <912605ED-E77D-4AB9-BDF6-966AE2FAA2C6@redsnapper.net> <4AB7E680.2050508@apache.org> <6CAE81E2-4277-44F7-AA2C-7AFCEA7A355A@redsnapper.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6CAE81E2-4277-44F7-AA2C-7AFCEA7A355A@redsnapper.net> Organization: Code Synthesis Tools CC User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org Hi Ben, Ben Griffin writes: > Do you have / is there a sample for loading an xml schema and then > parsing a file against it? You can add schemaLocation into the XML file and then use one of the examples (e.g., DOMCount) to parse it with validation. If that doesn't reproduce the problem, then, as you suggest, you will need to create a small test case that mimics your code. > Alternatively I can send you the schemas and xml files - but if you > can't replicate the error from those, it may be a waste of time for you. The best way would be to create a bug report and attach the files to it: http://xerces.apache.org/xerces-c/bug-report.html Thanks, Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open-source XML data binding for C++: http://codesynthesis.com/products/xsd XML data binding for embedded systems: http://codesynthesis.com/products/xsde