From xerces-cortegatimothy@example.org Thu Jul 01 07:30:02 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 13883 invoked from network); 1 Jul 2004 07:30:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Jul 2004 07:30:01 -0000 Received: (qmail 68591 invoked by uid 500); 1 Jul 2004 07:29:39 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 68444 invoked by uid 500); 1 Jul 2004 07:29:37 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Delivered-To: moderator for ortegatimothy@example.org Received: (qmail 72309 invoked by uid 99); 30 Jun 2004 21:20:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <ortegatimothy@example.org> Date: Wed, 30 Jun 2004 16:19:51 -0500 From: Pradeep Kilambi <ortegatimothy@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ortegatimothy@example.org Subject: I am unable to install xerces-c Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. -Pradeep. --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Thu Jul 01 08:09:58 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 35359 invoked from network); 1 Jul 2004 08:09:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Jul 2004 08:09:58 -0000 Received: (qmail 70614 invoked by uid 500); 1 Jul 2004 08:10:17 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 70506 invoked by uid 500); 1 Jul 2004 08:10:14 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 70402 invoked by uid 99); 1 Jul 2004 08:10:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 01 Jul 2004 01:10:08 -0700 Received: from elvirus.progress.com (elvirus [83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i6189JEd009462 for <ortegatimothy@example.org>; Thu, 1 Jul 2004 04:09:20 -0400 (EDT) Received: from progress.com (localhost [83.161.120.155]) by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i6189IV04456 for <ortegatimothy@example.org>; Thu, 1 Jul 2004 04:09:18 -0400 (EDT) Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id i6189H019965 for <ortegatimothy@example.org>; Thu, 1 Jul 2004 04:09:17 -0400 (EDT) Received: from AlbertoMassari.progress.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 1 Jul 2004 04:08:51 -0400 Message-Id: <ortegatimothy@example.org> X-Sender: ortegatimothy@example.org X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Thu, 01 Jul 2004 10:08:35 +0200 To: ortegatimothy@example.org From: Alberto Massari <ortegatimothy@example.org> Subject: Re: I am unable to install xerces-c In-Reply-To: <ortegatimothy@example.org> References: <ortegatimothy@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 01 Jul 2004 08:08:51.0852 (UTC) FILETIME=[A545ECC0:01C45F42] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Pradeep, can you give us more informations? Which platform are you on? What is this output coming from? ./configure or ./runConfigure? What was the command line you typed? ortegatimothy@example.org 30/06/2004 -0500, Pradeep Kilambi wrote: >loading cache ./config.cache >checking for gcc... gcc >checking whether the C compiler (gcc ) works... yes >checking whether the C compiler (gcc ) is a cross-compiler... no >checking whether we are using GNU C... yes >checking whether gcc accepts -g... yes >checking for c++... c++ >checking whether the C++ compiler (c++ ) works... no >configure: error: installation or configuration problem: C++ compiler >cannot create executables. > >-Pradeep. > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: ortegatimothy@example.org >For additional commands, e-mail: ortegatimothy@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Thu Jul 01 08:14:10 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 36527 invoked from network); 1 Jul 2004 08:14:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Jul 2004 08:14:10 -0000 Received: (qmail 80375 invoked by uid 500); 1 Jul 2004 08:14:31 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 80212 invoked by uid 500); 1 Jul 2004 08:14:27 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 80180 invoked by uid 99); 1 Jul 2004 08:14:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_BASE64_NO_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO cnhkmh01.bea.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 01 Jul 2004 01:14:25 -0700 Received: from CNHKEX01.apac.bea.com (cnhkex01.apac.bea.com [83.161.120.155]) by cnhkmh01.bea.com (Switch-3.0.5/Switch-3.0.0) with SMTP id i618DcNg009328 for <ortegatimothy@example.org>; Thu, 1 Jul 2004 16:13:41 +0800 Received: from CNBJEX01.apac.bea.com ([83.161.120.155]) by CNHKEX01.apac.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 1 Jul 2004 16:13:38 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: I am unable to install xerces-c Date: Thu, 1 Jul 2004 16:13:38 +0800 Message-ID: <ortegatimothy@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: I am unable to install xerces-c Thread-Index: AcRfPTFl2k1yoctvRHaE0auCR5i3AwABeAUA From: "Shouhua Wang" <ortegatimothy@example.org> To: <ortegatimothy@example.org> X-OriginalArrivalTime: 01 Jul 2004 08:13:38.0904 (UTC) FILETIME=[505E9580:01C45F43] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N RnJvbSB0aGUgb3V0cHV0LCBpdCBzaG91bGQgYmUgdGhlIGMrKyBjb21waWxlciBkb2Vzbid0IGV4 aXN0IG9yIGNhbm5vdCBiZSBmb3VuZCBpbiB5b3VyIG1hY2hpbmUuDQpYZXJjZXMgbmVlZCBjKysg Y29tcGlsZXIgdG8gYnVpbGQsIHNvIHBsZWFzZSBtYWtlIHN1cmUgdGhhdCBjKysgY29tcGlsZXIg d29yayB3ZWxsIGZpcnN0Lg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUHJh ZGVlcCBLaWxhbWJpIFttYWlsdG86cHJhZGVlcEBsdC5jb21dDQpTZW50OiAyMDA05bm0N+aciDHm l6UgNToyMA0KVG86IHhlcmNlcy1jLWRldkB4bWwuYXBhY2hlLm9yZw0KU3ViamVjdDogSSBhbSB1 bmFibGUgdG8gaW5zdGFsbCB4ZXJjZXMtYw0KDQoNCmxvYWRpbmcgY2FjaGUgLi9jb25maWcuY2Fj aGUNCmNoZWNraW5nIGZvciBnY2MuLi4gZ2NjDQpjaGVja2luZyB3aGV0aGVyIHRoZSBDIGNvbXBp bGVyIChnY2MgICkgd29ya3MuLi4geWVzDQpjaGVja2luZyB3aGV0aGVyIHRoZSBDIGNvbXBpbGVy IChnY2MgICkgaXMgYSBjcm9zcy1jb21waWxlci4uLiBubw0KY2hlY2tpbmcgd2hldGhlciB3ZSBh cmUgdXNpbmcgR05VIEMuLi4geWVzDQpjaGVja2luZyB3aGV0aGVyIGdjYyBhY2NlcHRzIC1nLi4u IHllcw0KY2hlY2tpbmcgZm9yIGMrKy4uLiBjKysNCmNoZWNraW5nIHdoZXRoZXIgdGhlIEMrKyBj b21waWxlciAoYysrICApIHdvcmtzLi4uIG5vDQpjb25maWd1cmU6IGVycm9yOiBpbnN0YWxsYXRp b24gb3IgY29uZmlndXJhdGlvbiBwcm9ibGVtOiBDKysgY29tcGlsZXIgDQpjYW5ub3QgY3JlYXRl IGV4ZWN1dGFibGVzLg0KDQotUHJhZGVlcC4NCg0KDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KVG8gdW5zdWJz Y3JpYmUsIGUtbWFpbDogeGVyY2VzLWMtZGV2LXVuc3Vic2NyaWJlQHhtbC5hcGFjaGUub3JnDQpG b3IgYWRkaXRpb25hbCBjb21tYW5kcywgZS1tYWlsOiB4ZXJjZXMtYy1kZXYtaGVscEB4bWwuYXBh Y2hlLm9yZw0KDQo= From xerces-cortegatimothy@example.org Thu Jul 01 13:31:31 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 98346 invoked from network); 1 Jul 2004 13:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Jul 2004 13:31:31 -0000 Received: (qmail 45673 invoked by uid 500); 1 Jul 2004 13:30:47 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 45398 invoked by uid 500); 1 Jul 2004 13:30:45 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 45303 invoked by uid 99); 1 Jul 2004 13:30:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO zeus.parthcomp.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 01 Jul 2004 06:30:40 -0700 Received: from [83.161.120.155] (helo=[83.161.120.155]) by zeus.parthcomp.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.30) id 1Bg1ee-0005EH-I6 for ortegatimothy@example.org; Thu, 01 Jul 2004 14:31:08 +0100 Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <ortegatimothy@example.org> References: <ortegatimothy@example.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <ortegatimothy@example.org> Content-Transfer-Encoding: 7bit From: Gareth Reakes <ortegatimothy@example.org> Subject: Re: c++ data binding Date: Thu, 1 Jul 2004 14:30:07 +0100 To: ortegatimothy@example.org X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "zeus.parthenon.local", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, It is not currently supported. If you take a look at Pathan we have simulated this by serializing a small part of the doc in memory and then re validating. Gareth [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 AWL AWL: Auto-whitelist adjustment X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, It is not currently supported. If you take a look at Pathan we have simulated this by serializing a small part of the doc in memory and then re validating. Gareth On 30 Jun 2004, at 2:52, John Zhang wrote: > Hi There, > > I am new in XML Schema. I wanted to use Xerces to do the xml parsing. > I also like to validate on the fly what data type an element or an > attribute contains using schema. I do not seem to be able find such > api. Can you please give me some pointers? > > Thanks you in advance. > > John > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ortegatimothy@example.org > For additional commands, e-mail: ortegatimothy@example.org > > > -- Gareth Reakes, Managing Director Parthenon Computing 801-768-9058 http://www.parthcomp.com --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Sun Jul 04 14:19:39 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 3649 invoked from network); 4 Jul 2004 14:19:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 4 Jul 2004 14:19:39 -0000 Received: (qmail 55579 invoked by uid 500); 4 Jul 2004 14:19:33 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 55468 invoked by uid 500); 4 Jul 2004 14:19:30 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 55420 invoked by uid 99); 4 Jul 2004 14:19:29 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Sun, 04 Jul 2004 07:19:28 -0700 Received: (qmail 2703 invoked by uid 0); 4 Jul 2004 14:20:24 -0000 Message-ID: <ortegatimothy@example.org> From: ortegatimothy@example.org To: ortegatimothy@example.org Subject: Bug report for Xerces-C++ [2004/07/04] Date: Sun, 04 Jul 2004 14:20:24 -0000 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 1402|New|Nor|2001-04-19|XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Initialize() is not thread safe | | 1448|Opn|Nor|2001-04-20|Xerces-C crashes when locale is not set. in user e| | 1601|Opn|Blk|2001-05-02|DOMString bug | | 2268|New|Enh|2001-06-21|Add two members to DOMParser.hpp | | 2814|New|Cri|2001-07-25|dummyExe build fails on HP-UX 10.20 with CC A.10.4| | 3094|New|Maj|2001-08-10|StdInInputSource class is broken and StdInParse sa| | 3246|New|Nor|2001-08-23|CreateDocument: core dump when runConfigure option| | 3257|New|Nor|2001-08-24|Whitespace stored as PI data. | | 3335|New|Maj|2001-08-29|static XMLStringPool compiled on Borland C++Builde| | 3412|New|Maj|2001-09-04|XMLReaderFactory888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4reateXMLReader -> Not thread sa| | 3505|New|Min|2001-09-07|DOMString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transcode does not always detect wcstom| | 4052|New|Blk|2001-10-09|Xerces C++ incompatable with IRIX o32 object forma| | 4325|New|Cri|2001-10-22|Memory Leaks in the basic parser operation | | 4565|New|Nor|2001-11-01|Memory Leak in transcode | | 4608|New|Blk|2001-11-02|build error on Solaris | | 4625|New|Nor|2001-11-03|won't build from outside of source tree | | 4673|New|Nor|2001-11-06|Reference to input buffer | | 4869|New|Enh|2001-11-14|Static DOMStrings wont initialize from char data | | 5467|New|Nor|2001-12-17|Memory Leak | | 5468|New|Nor|2001-12-17|Memory Leak | | 5596|New|Blk|2001-12-27|xerces shared library clashes with stdc++ ostream | | 5699|New|Nor|2002-01-04|1.6.0 build failure on IRIX | | 5936|New|Min|2002-01-21|COM Threading Model of COM binding (xerces-com) | | 5967|New|Enh|2002-01-22|DOM-IDOM Integration | | 6358|New|Nor|2002-02-11|Insert a define to create a Win32 static lib | | 6367|Opn|Nor|2002-02-11|memory leak parsing xml document | | 6808|New|Nor|2002-03-01|Xerces 1.3 support for SunPro 5.3, HP aCC 3.33, IB| | 6903|New|Min|2002-03-06|Exported classes with inlined virtual functions. | | 6910|New|Blk|2002-03-06|illegal attempt to delete void* in src/util/RefHas| | 7194|New|Nor|2002-03-18|The DOMParse will be very slow as we use it repeat| | 7210|New|Cri|2002-03-18|Xerces-C++/1.7 parser can not handle % sign correc| | 7278|New|Maj|2002-03-20|Memory leak in XMLReaderFactory888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4reateXMLReader | | 7293|New|Maj|2002-03-20|Changes required to build with gcc 2.95.2 on hpux | | 7336|New|Nor|2002-03-21|3 minor issues with C++ Builder (ver 5.02) build | | 7346|New|Nor|2002-03-22|Invalid uriId used for XMLAttr:s in XMLScanner.cpp| | 7440|New|Enh|2002-03-25|Make Error/Message Extension Of The XMLValidator P| | 7448|New|Enh|2002-03-25|Would like DOMString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4operator< for STL use, code | | 7508|New|Nor|2002-03-27|CC 7.2 Compile error building xercesc in IRIX 6.5 | | 7509|New|Maj|2002-03-27|DOMString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ppendData(const DOMString&) is broken | | 7777|New|Nor|2002-04-05|XMLCh typedef should be conditional under MSVC 7 | | 7944|New|Blk|2002-04-11|InputSource needs copy constructor and assignment | | 8011|New|Cri|2002-04-12|Parser crashes when using schema val with missing | | 8280|New|Cri|2002-04-18|DOMParser fails on OS/390 BATCH environment | | 8616|New|Nor|2002-04-29|Purify reporting UMR errors | | 8741|New|Enh|2002-05-02|Support for garbage collection in IDOM implementat| | 8863|New|Nor|2002-05-07|DocumentImpl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setUserData has invalid handling | | 8984|New|Nor|2002-05-10|Memory leak in ReaderMgr888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4reateReader | | 9308|New|Cri|2002-05-22|Exception when parsing the xml file | | 9325|Opn|Enh|2002-05-22|Please add accessors to sax2 parser and xml scanne| | 9366|New|Nor|2002-05-23|Xerces-C precompiled headers do not exist upon ins| | 9380|New|Nor|2002-05-24|Unable to build Xerces C samples with gcc on SCO O| | 9468|New|Cri|2002-05-28|Memory Leak in SAX Parser | | 9504|New|Nor|2002-05-29|pthread_mutex_lock is slow on solaris | | 9610|New|Maj|2002-06-04|Cannot load after a prior attempt to load fails | | 9691|New|Nor|2002-06-07|Memory leak when setCreateEntityReferenceNodes is | | 9739|New|Min|2002-06-10|xerces-com, custom build step occasionally corrupt| | 9844|New|Enh|2002-06-13|Feature Request: additional XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transcode (| | 9986|New|Nor|2002-06-19|Xerces hangs in ThrowXML | |10316|New|Blk|2002-06-28|SAX2, characters returns unpredictable value for e| |10442|New|Maj|2002-07-03|start/endInputSource callback methods are not call| |10821|New|Cri|2002-07-15|Memory leak in DOMParser | |10954|Opn|Maj|2002-07-18|maxOccurs="0" is considered an error | |10981|New|Nor|2002-07-19|Regular Expressions : \w incorrectly matching punc| |11090|New|Nor|2002-07-23|do not mix include <> and include "" in public hea| |11237|New|Enh|2002-07-28|static version of the library | |11955|New|Enh|2002-08-23|DOM Events code submission | |12103|New|Nor|2002-08-27|SchemaValidator888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4heckContent has limited call cou| |12276|New|Nor|2002-09-03|DOMCount slow with (modular) online DTDs | |12277|New|Enh|2002-09-03|wish: full-blown validator (eg DOMCount++) | |12397|New|Nor|2002-09-08|Makefile.in ignores @INSTALL@ | |12487|New|Cri|2002-09-10|Buffer Size for XML data | |12642|New|Enh|2002-09-14|On NODE_DELETED the UserData should be released on| |12851|New|Nor|2002-09-20|passing -1 to unsigned parameter | |12895|New|Cri|2002-09-21|Xerces-c-2_1_0 does not build on Mac OS X 10.2 | |12962|New|Maj|2002-09-24|Error messages are not user friendly | |13009|New|Maj|2002-09-25|Compile time error with xerce-c++ | |13074|New|Cri|2002-09-27|link fails on DEC alpha OSF1 workstation | |13139|Opn|Nor|2002-09-30|Building Promblems on HP-UX | |13197|New|Nor|2002-10-02|problem deleting attributes when element is releas| |13199|New|Nor|2002-10-02|problem cloning DOMDocument | |13236|New|Min|2002-10-03|misc installation documentation nits | |13261|New|Cri|2002-10-03|DomBuilder looking for DTD files somethims after d| |13280|New|Blk|2002-10-04|HP-UX 10.20, CC A.03.50 , building problems | |13488|New|Min|2002-10-10|Use FILE* instead of void* for FileHandle on Linux| |13650|New|Nor|2002-10-15|RefVectorOf documentation missing | |13653|New|Cri|2002-10-15|SAX2 throw unhandled exception on parsing file 60 | |13709|New|Enh|2002-10-16|Add accessor to XMLScanner to get the current gram| |13802|New|Blk|2002-10-21|problem regarding _cdecl | |13889|New|Maj|2002-10-23|WinSockNetAccessor fails to connect to IIS | |13997|New|Enh|2002-10-27|HTTPInputStream does not handle re-directs | |14000|New|Nor|2002-10-27|Incorrect Schema Validation Failure When Redefinin| |14402|New|Maj|2002-11-08|Bug fix for scandinavian letters in volume name | |14414|New|Nor|2002-11-09|deleting BinInputStream | |14649|New|Maj|2002-11-18|Need way to manage DOM memory | |14779|New|Maj|2002-11-22|SAX parsers incorrectly filter out events from XML| |15096|New|Nor|2002-12-05|IRIX and nonexistant schemas | |15280|New|Nor|2002-12-11|XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4trim ( char *const toTrim ) trims acce| |15398|New|Nor|2002-12-16|TrueCoverage build fails in Window due to __cdecl | |15485|New|Enh|2002-12-18|create containers which delete appropriately | |15498|New|Nor|2002-12-18|problem related to external dtd in xml file | |15617|New|Cri|2002-12-23|Linking IBM AMI 1.2.3 with XERCES C++ 2.1.0 cause | |15785|New|Nor|2003-01-03|RFE: Xerces-C++ modularization - config for smalle| |15787|New|Nor|2003-01-03|IANA charset names list inefficient; useful? | |15817|New|Enh|2003-01-06|DJGPP G++ compiler doesn't work | |16085|New|Maj|2003-01-15|XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Initialize() fails to execute an| |16219|New|Nor|2003-01-17|DOMUserDataHandler<_TT>888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handle -- dst argument is| |16954|New|Nor|2003-02-11|There should be a way to release child nodes, once| |16962|Opn|Nor|2003-02-11|Schema containing "xs:any namespace=##local" fails| |17076|New|Nor|2003-02-14|Does implement co-occurence constraints | |17272|New|Enh|2003-02-21|RFE: std io+string interoperability classes | |17384|New|Nor|2003-02-25|XMLSchema validator allows mixed content in comple| |17427|Ass|Nor|2003-02-26|Date validation is not working | |17723|New|Cri|2003-03-06|Linker error | |18167|New|Cri|2003-03-19|createDocument core dumps | |18542|New|Cri|2003-04-01|Deleting something returned by XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transcod| |18763|New|Nor|2003-04-07|Bad Win32 Registry "charset" Entry causes panic | |18820|New|Nor|2003-04-08|bug in compiling xerces whith gcc on AIX | |18920|Ass|Enh|2003-04-10|Output library name duplicated in two Makefiles | |19028|New|Min|2003-04-15|Memory leak with writeToString in DOMWriter | |19156|New|Cri|2003-04-18|ERROR: The buffer manager cannot provide any more | |19694|New|Cri|2003-05-06|Takes 10times time when validating xml file with s| |19722|New|Nor|2003-05-07|util/RefArrayVectorOf.hpp needs modification to ob| |19731|New|Maj|2003-05-07|XMLURL888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4weavePaths does not work correctly for Fil| |19760|New|Nor|2003-05-08|Patch to build a static library under Kylix 3 | |19975|New|Enh|2003-05-16|SAX2 shall allow reading from standard C++ I/O str| |20007|New|Nor|2003-05-17|[RFC 2396]: Port numbers not restricted to 0-65535| |20011|New|Min|2003-05-17|[RFC 2396]: One character schemes should not be re| |20293|New|Maj|2003-05-28|Xerces C 2.3.0: calling domcount from Vim doesn't | |20733|New|Min|2003-06-13|Long line in Projects\Win32\BCB6\Xerces-all\Xerces| |20788|Opn|Min|2003-06-15|Minor misconfigurations in xerces-c.spec | |20800|New|Enh|2003-06-16|Enable objects for Debug-, Release- and 64-Bit bui| |21093|New|Nor|2003-06-25|xerces/util/XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4patternMatch bug (C++) | |21306|New|Enh|2003-07-03|ifeq test too restrictive in util/Compilers/Makefi| |21415|New|Nor|2003-07-08|bug in XercesDOMParser treatment of whitespace and| |21655|New|Maj|2003-07-16|Identity constraint validation failure | |21692|New|Nor|2003-07-17|setPrefix(NULL) doesn't set fPrefix to NULL | |21708|New|Maj|2003-07-18|DOMImplementation Multi-Thread | |21882|New|Nor|2003-07-25|TraverseSchem888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4checkAttDerivationOK() incorrect f| |22019|New|Nor|2003-07-31|Warnings from AbstractDOMParser.hpp when compiling| |22162|New|Blk|2003-08-06|Cannot compile the src. | |22168|New|Nor|2003-08-06|memory not releaser by DOMParser | |22254|New|Min|2003-08-08|Bas888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4decode whitespace | |22441|New|Nor|2003-08-14|ReaderMgr may delete fCurReader twice | |22524|New|Nor|2003-08-18|Release-Build crashes on Sun if different compiler| |22619|New|Nor|2003-08-21|Detect OpenBSD and use FreeBSD build files | |22693|New|Maj|2003-08-25|Memory leak in xerces library | |22699|New|Nor|2003-08-25|Memory Leak when remote-DTD occurs in XML-file | |22760|New|Nor|2003-08-27|Invalid schema is reported to be valid | |22778|New|Nor|2003-08-28|When calling getContentModel() on element it throw| |22787|New|Blk|2003-08-28|Internal compiler error | |23100|Ass|Nor|2003-09-11|getElementById() returns element instance outside | |23386|New|Nor|2003-09-24|can not link templates when building samples (and | |23527|New|Nor|2003-09-30|Samples will not run when built on Cygwin with ICU| |23627|New|Enh|2003-10-06|Linux buffer writer doesn't appear to explicitly f| |23707|New|Min|2003-10-09|RegularExpression: wrong Match end for fixed strin| |23756|New|Nor|2003-10-12|XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isAnySlash() causing dynamic loa| |23888|New|Nor|2003-10-17|CVS contains LF-only project files | |24168|New|Cri|2003-10-28|Parse fails for documents with 32+ namespaces | |24295|New|Nor|2003-10-31|virtual functions inlined outside of class definit| |24703|New|Cri|2003-11-14|Crash when maxOccurs >= 200000 | |24870|New|Min|2003-11-20|XMemory related warning | |24915|New|Min|2003-11-22|FAQ and API docs for makeNewTranscoder() outdated | |24971|New|Nor|2003-11-25|Problems with partial build | |25041|New|Nor|2003-11-27|configure gcc 64-bit on solaris fails | |25073|New|Blk|2003-11-28|XML Parser doesnt start on Unixware 7.1 | |25085|New|Min|2003-11-29|Compiler warnings in DOMCasts.hpp | |25087|New|Min|2003-11-29|gcc warning: EncodingValidator has no friends | |25498|New|Maj|2003-12-13|Win32Transcoder does not properly transcode ISO-88| |25574|New|Maj|2003-12-16|App on IRIX fails to compile with 2.4.0 include fi| |25624|New|Min|2003-12-18|Valgrind reports "Source and destination overlap i| |25727|New|Nor|2003-12-23|namespace macros not used | |25751|Opn|Nor|2003-12-24|DOMWriter prettyprint adds too much whitespace aft| |25812|Opn|Nor|2003-12-29|transcode function on AIX returns incorrect value | |25821|New|Nor|2003-12-30|ValueVectorOf Missing XMemory Copy Construction | |26094|New|Nor|2004-01-13|Base64Binary validation failed when length is zero| |26101|New|Nor|2004-01-13|make -j does not work, make does | |26210|New|Nor|2004-01-17|info auto-import on linking | |26531|Opn|Nor|2004-01-29|ABW: Array bounds write xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4HashBas888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Has| |26537|New|Nor|2004-01-29|Bad isEmpty argument for the advanced startElement| |26553|New|Nor|2004-01-30|resolveEntity doesn't give enough information | |26629|New|Enh|2004-02-03|No support for SAX2 Filters | |26728|New|Min|2004-02-06|Complie Erros in Header RegularExpression.hpp | |26744|New|Nor|2004-02-07|[PATCH] Add support for DragonFly | |26856|New|Maj|2004-02-11|sample building error | |26886|New|Maj|2004-02-12|Iconv calcRequiredSize() fails with multibyte enco| |26953|New|Nor|2004-02-15|Proposed changes for forthcoming 2.5.0 release (un| |26980|Ass|Maj|2004-02-16|XMLStringPool is not useful as a base class | |27019|New|Nor|2004-02-18|XMLSchemaDescriptionImpl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getLocationHints() retur| |27045|New|Cri|2004-02-18|XTemplateSerializer leaks memory | |27046|New|Cri|2004-02-18|XSerializeEngine is not thread-safe | |27115|New|Nor|2004-02-20|External subset problem with icc 8.0 on IA-64 Linu| |27196|New|Nor|2004-02-24|base class warning in SAXException.hpp copy constr| |27270|Ass|Maj|2004-02-26|Xerces cannot open file whose name includes UTF8 c| |27287|Opn|Enh|2004-02-27|Add support for ISO-8859-15 | |27337|New|Nor|2004-03-01|getElementById succeeds after removeChild and rele| |27360|New|Enh|2004-03-02|Just a suggestion for the class DOMException | |27375|New|Nor|2004-03-02|internal subset lost after using cloneNode | |27450|New|Nor|2004-03-04|Validating against schemas importing other schemas| |27562|New|Enh|2004-03-10|XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ompareNIString uses strnicmp which isn| |27666|New|Enh|2004-03-15|Error message doesnt contain all usefull informati| |27745|New|Nor|2004-03-17|Wrong overload chosen in XercesStep888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4serialize() | |27759|New|Enh|2004-03-17|IconvFBSD and -liconv | |27769|New|Maj|2004-03-18|IconvFBSD transcode() string termination problem | |27803|New|Enh|2004-03-19|Add the possibility of loading a schema by just de| |27898|New|Nor|2004-03-24|Relative URL resolving broken | |27991|Ver|Nor|2004-03-26|Parser fails with escape characters in attribute v| |28048|New|Blk|2004-03-30|NameIdPoolEnumerator assigns to const pointer | |28162|New|Blk|2004-04-02|Makefile.incl link lines and lib names incorrect f| |28186|New|Cri|2004-04-04|Xerces SAX2 parser can not skip xs:any if xsi:nil | |28292|New|Min|2004-04-08|Programming guide improved tutorial for Initialize| |28294|New|Nor|2004-04-08|No indication of correct header file | |28295|New|Min|2004-04-08|English cleanups in programming guide | |28297|New|Nor|2004-04-08|Thrown exceptions are not documented | |28316|New|Min|2004-04-09|XMLMacAbstractFile objects leak | |28318|New|Cri|2004-04-09|Not recognising <NAME>COURTYARD CAFÉ</NAME> | +-----+---+---+----------+--------------------------------------------------+ | Total 215 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Mon Jul 05 06:18:34 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 44764 invoked from network); 5 Jul 2004 06:18:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 5 Jul 2004 06:18:34 -0000 Received: (qmail 41545 invoked by uid 500); 5 Jul 2004 06:18:36 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 41511 invoked by uid 500); 5 Jul 2004 06:18:36 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 41498 invoked by uid 99); 5 Jul 2004 06:18:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO localhost.localdomain) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 04 Jul 2004 23:18:33 -0700 Received: from doctronic.de (dolly.doctronic.de [83.161.120.155]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i656IBSG015147 for <ortegatimothy@example.org>; Mon, 5 Jul 2004 08:18:11 +0200 Received: from [83.161.120.155] (kresse.doctronic.de [83.161.120.155]) by doctronic.de (8.12.11/8.12.10) with ESMTP id i656IAKb003169 for <ortegatimothy@example.org>; Mon, 5 Jul 2004 08:18:11 +0200 Message-ID: <ortegatimothy@example.org> Date: Mon, 05 Jul 2004 08:18:10 +0200 From: =?ISO-8859-1?Q?Holger_Fl=F6rke?= <ortegatimothy@example.org> Organization: doctronic GmbH & Co. KG User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616 X-Accept-Language: de, en MIME-Version: 1.0 To: ortegatimothy@example.org Subject: Re: Bug report for Xerces-C++ [2004/07/04] References: <ortegatimothy@example.org> In-Reply-To: <ortegatimothy@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.41 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I recieve this bug report summary. But as far as I know xerces is using jira for bug reporting. The bugzilla database is outdated and therefore this summary report is senseless. Is jira able to post summary reports? Is somebody able to suppress the old bugzilla summary report? HolgeR ortegatimothy@example.org schrieb: > +---------------------------------------------------------------------------+ > | Bugzilla Bug ID | > | +---------------------------------------------------------------------+ > | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | > | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | > | | +-----------------------------------------------------------------+ > | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | > | | | MIN=Minor NOR=Normal ENH=Enhancement | > | | | +-------------------------------------------------------------+ > | | | | Date Posted | > | | | | +--------------------------------------------------+ > | | | | | Description | > | | | | | | > | 1402|New|Nor|2001-04-19|XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Initialize() is not thread safe | ... -- holger floerke d o c t r o n i c email ortegatimothy@example.org information publishing + retrieval phone 801-768-9058 http://www.doctronic.de --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Mon Jul 05 07:11:59 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 62268 invoked from network); 5 Jul 2004 07:11:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 5 Jul 2004 07:11:59 -0000 Received: (qmail 29844 invoked by uid 500); 5 Jul 2004 07:11:55 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 29764 invoked by uid 500); 5 Jul 2004 07:11:54 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 29732 invoked by uid 99); 5 Jul 2004 07:11:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO e3.ny.us.ibm.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 05 Jul 2004 00:11:51 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [83.161.120.155]) by e3.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i657BVws744800 for <ortegatimothy@example.org>; Mon, 5 Jul 2004 03:11:31 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [83.161.120.155]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i657CMQV099228 for <ortegatimothy@example.org>; Mon, 5 Jul 2004 03:12:23 -0400 Subject: Mike Pawlowski/Toronto/IBM is out of the office. From: Mike Pawlowski <ortegatimothy@example.org> To: ortegatimothy@example.org Message-ID: <ortegatimothy@example.org> Date: Mon, 5 Jul 2004 03:11:30 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 07/05/2004 03:11:30 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I will be out of the office starting 07/05/2004 and will not return until 07/19/2004. I am presently on vacation. I will reply to your message on my return. Please contact Steve Hikida for any urgent issues. --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 09:50:08 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 38625 invoked from network); 6 Jul 2004 09:50:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 09:50:08 -0000 Received: (qmail 27774 invoked by uid 500); 6 Jul 2004 09:50:12 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 27460 invoked by uid 500); 6 Jul 2004 09:50:06 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 27336 invoked by uid 99); 6 Jul 2004 09:50:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO smtp.multitel.be) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 02:50:01 -0700 Received: from localhost (localhost [83.161.120.155]) by smtp.multitel.be (Postfix) with ESMTP id 970E229AC34 for <ortegatimothy@example.org>; Tue, 6 Jul 2004 12:04:08 +0200 (CEST) Received: from smtp.multitel.be ([83.161.120.155]) by localhost (pop.multitel.be [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 21304-05 for <ortegatimothy@example.org>; Tue, 6 Jul 2004 12:04:07 +0200 (CEST) Received: from llhosts (multitel010005.multitel.be [83.161.120.155]) by smtp.multitel.be (Postfix) with ESMTP id ABFC129ABFA for <ortegatimothy@example.org>; Tue, 6 Jul 2004 12:04:07 +0200 (CEST) Subject: SAX : Producing output in a XML file - sample code From: Caignart Olivier <ortegatimothy@example.org> To: ortegatimothy@example.org Content-Type: text/plain Message-Id: <ortegatimothy@example.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jul 2004 11:49:25 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at multitel.be X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello xerces-c-dev ! I aim to produce a simple sample looking like (this is no code... just idea ) somewhere in a code : for(i=0; i<Imax; i++) { computesomething(i); writeintoXMLfile(data[i]); } with data[i] containing anything we want... This writeintoWMLfile could handle the data and finally output it into the XML file. I'm not very comfortable with DOM and SAX but as far as i've understood, SAX is event oriented. That's exaclty what i need. I have several events or data to put at some particular time into files. Reagading how long the programm is working i could produce data to put into file. That's an other reason to choose SAX and not DOM. (if i'm not right just tell me!!!) In order to do this I'm currently using a slightly modified SAX2PrintHandlers version : (here it is) : SAX2PrintHandlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SAX2PrintHandlers( const char* const encodingName, const XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UnRepFlags unRepFlags, const bool expandNamespaces) : fTarget(new LocalFileFormatTarget(goutputfile)) , fFormatter(encodingName, fTarget, XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4NoEscapes, unRepFlags ), fExpandNS ( expandNamespaces ) { fFormatter << gXMLDecl1 << fFormatter.getEncodingName() << gXMLDecl2; } SAX2PrintHandlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4~SAX2PrintHandlers() { delete fTarget; } And i thought to use the writeChars method to realize what i wrote about. Is there any way to do it ? Here is what i tried (i'm no programmer so please be tolerant :) ): in the SAX2Print sample : try { SAX2PrintHandlers handler(encodingName, unRepFlags, expandNamespaces); parser->setContentHandler(&handler); parser->setErrorHandler(&handler); parser->parse(xmlFile); handler.writeChars((XMLByte*)"test"); errorCount = parser->getErrorCount(); } void SAX2PrintHandlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4writeChars(const XMLByte* const toWrite) { writeChars(toWrite, 1, &fFormatter); } void SAX2PrintHandlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4writeChars(const XMLByte* const toWrite, const unsigned int count, XMLFormatter* const formatter) { XERCES_STD_QUALIFIER cout.write((char *) toWrite, (int) count); XERCES_STD_QUALIFIER cout.flush(); // this do nothing FILE* sortie; //sortie = fopen("/home/[..]/XML/src/xerces-c-src_2_5_0/work/fichier_sortie.xml","a"); sortie = fopen(goutputfile,"a"); // For this one, just dump them to the standard output // Surprisingly, Solaris was the only platform on which // required the char* cast to print out the string correctly. // Without the cast, it was printing the pointer value in hex. // Quite annoying, considering every other platform printed // the string with the explicit cast to char* below. fwrite((char*)toWrite, 1, count, sortie); fclose(sortie); } Hope i'll hear good news soon ! Olivier --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 10:14:29 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 50846 invoked from network); 6 Jul 2004 10:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 10:14:29 -0000 Received: (qmail 89666 invoked by uid 500); 6 Jul 2004 10:14:44 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 89631 invoked by uid 500); 6 Jul 2004 10:14:43 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 89604 invoked by uid 99); 6 Jul 2004 10:14:42 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO mail-relay1.elsevier.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 03:14:39 -0700 Received: from elsoxfs30373.elsevier.co.uk (unverified) by mail-relay1.elsevier.co.uk (Content Technologies SMTPRS 4.3.14) with ESMTP id <ortegatimothy@example.org>; Tue, 6 Jul 2004 11:15:38 +0100 Received: by elsoxfs30373.elsevier.co.uk with Internet Mail Service (5.5.2657.72) id <N80BCXF6>; Tue, 6 Jul 2004 11:13:41 +0100 Message-ID: <ortegatimothy@example.org> From: "Agrawal, Vikas (ELS)" <ortegatimothy@example.org> To: "'ortegatimothy@example.org'" <ortegatimothy@example.org> Cc: "'Kirill.Shiff'" <ortegatimothy@example.org> Subject: RE: Subject: how to use external schema? Date: Tue, 6 Jul 2004 11:13:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C46341.E36D01D4" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C46341.E36D01D4 Content-Type: text/plain; charset="koi8-r" header file ------------------------------------------------------ class EsXml4cDomEntityResolver : public DOMEntityResolver { public: EsXml4cDomEntityResolver(); virtual ~EsXml4cDomEntityResolver(); DOMInputSource* resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI); } cpp file ------------------------------------------------------- DOMInputSource* EsXml4cDomEntityResolver888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI) { InputSource* result = NULL; /** customize it the way you want **/ LocalFileInputSource* fileinput = NULL; str.append(catRWPrefix.c_str()); // catRWPrefix will be empty for DTDs DOMString tmp(str.c_str()); fileinput = new LocalFileInputSource(tmp.rawBuffer(), correctSid); st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ifstream in; EsXMLCh xstr(fileinput->getSystemId()); in.open(xstr.c_str()); if (in.is_open()) { result = fileinput; //st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4cout << "path + file " << xstr.c_str() << "\n str : " << str.c_str()<< "\n tmpSid :"<< tmpSid.c_str() << st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl; //printf("Correct Sid=%ws\n", correctSid); } return new Wrapper4InputSource(result); } -----Original Message----- From: Kirill.Shiff [mailto:ortegatimothy@example.org] Sent: 05 July 2004 20:23 To: ortegatimothy@example.org Subject: Re: Subject: how to use external schema? Hi Vikas, I founded your post on 'ortegatimothy@example.org' <mailto:'ortegatimothy@example.org'> . It seems I have a problem you already solved. I have external DTD file and need to use it instead of internal (ignore internal one). Could you please send some source example how you managed to achieve it? Thank you in advance Kirill > > > Hi All, > > > > > > I am trying to parse my file against a schema. Before I was parsing it > > > against a external DTD and it was working fine going through my entity > > > resolver. As soon as I try to use schema it stops going into entity > > > resolver. > > > I know I can set the schema location into the parser using > > > setExternalSchemaLocation() function but to do that I will have to > > extract > > > this info from xml file manually. I do not want to do that. I want > > > something > > > like entity resolver for schema. > > > Thanks & Regards > > > Vikas ------_=_NextPart_001_01C46341.E36D01D4 Content-Type: text/html; charset="koi8-r" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>header file</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>------------------------------------------------------</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>class EsXml4cDomEntityResolver : public DOMEntityResolver </SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>{<BR>public:<BR>&nbsp;EsXml4cDomEntityResolver();</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>virtual ~EsXml4cDomEntityResolver();</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMInputSource* resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>}</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>cpp file</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>-------------------------------------------------------</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMInputSource* EsXml4cDomEntityResolver888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI)<BR>{</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>InputSource* result = NULL;</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>/** customize it the way you want **/</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>LocalFileInputSource* fileinput = NULL;</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>str.append(catRWPrefix.c_str()); // catRWPrefix will be empty for DTDs</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMString tmp(str.c_str());</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>fileinput = new LocalFileInputSource(tmp.rawBuffer(), correctSid);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ifstream in;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EsXMLCh xstr(fileinput-&gt;getSystemId());<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in.open(xstr.c_str());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (in.is_open())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result = fileinput;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4cout &lt;&lt; "path + file " &lt;&lt; xstr.c_str() &lt;&lt; "\n str : " &lt;&lt; str.c_str()&lt;&lt; "\n tmpSid :"&lt;&lt; tmpSid.c_str() &lt;&lt; st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //printf("Correct Sid=%ws\n", correctSid);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>&nbsp;return new Wrapper4InputSource(result);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>}</SPAN></FONT></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Kirill.Shiff [mailto:ortegatimothy@example.org]<BR><B>Sent:</B> 05 July 2004 20:23<BR><B>To:</B> ortegatimothy@example.org<BR><B>Subject:</B> Re: Subject: how to use external schema?<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>Hi <FONT size=3>Vikas,</FONT></FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>I founded your post on <A href="mailto:'ortegatimothy@example.org'">'ortegatimothy@example.org'</A>. It seems I have a problem you already solved.</FONT></DIV> <DIV><FONT face=Arial>I have external DTD file and need to use it instead of internal (ignore internal one).</FONT></DIV> <DIV><FONT face=Arial>Could you please send some source example how you managed to achieve it?</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>Thank you in advance</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>Kirill</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV>&gt; &gt; &gt; Hi All,<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I am trying to parse my file against a schema. Before I was parsing it<BR>&gt; &gt; &gt; against a external DTD and it was working fine going through my entity<BR>&gt; &gt; &gt; resolver. As soon as I try to use schema it stops going into entity<BR>&gt; &gt; &gt; resolver.<BR>&gt; &gt; &gt; I know I can set the schema location into the parser using<BR>&gt; &gt; &gt; setExternalSchemaLocation() function but to do that I will have to<BR>&gt; &gt; extract<BR>&gt; &gt; &gt; this info from xml file manually. I do not want to do that. I want<BR>&gt; &gt; &gt; something<BR>&gt; &gt; &gt; like entity resolver for schema.<BR>&gt; &gt; &gt; Thanks &amp; Regards<BR>&gt; &gt; &gt; Vikas<BR></DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C46341.E36D01D4-- From xerces-cortegatimothy@example.org Tue Jul 06 10:22:04 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 55734 invoked from network); 6 Jul 2004 10:22:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 10:22:03 -0000 Received: (qmail 3402 invoked by uid 500); 6 Jul 2004 10:22:11 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 3249 invoked by uid 500); 6 Jul 2004 10:22:07 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 3203 invoked by uid 99); 6 Jul 2004 10:22:06 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO mail-relay6.elsevier.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 03:22:06 -0700 Received: from elsoxfs12303.elsevier.co.uk (unverified) by mail-relay6.elsevier.co.uk (Content Technologies SMTPRS 4.3.14) with ESMTP id <ortegatimothy@example.org>; Tue, 6 Jul 2004 11:18:50 +0100 Received: by elsoxfs12303.elsevier.co.uk with Internet Mail Service (5.5.2657.72) id <N9ADMSJW>; Tue, 6 Jul 2004 11:21:22 +0100 Message-ID: <ortegatimothy@example.org> From: "Agrawal, Vikas (ELS)" <ortegatimothy@example.org> To: "'ortegatimothy@example.org'" <ortegatimothy@example.org> Cc: "'Kirill.Shiff'" <ortegatimothy@example.org> Subject: RE: how to use external schema? Date: Tue, 6 Jul 2004 11:21:06 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C46342.936AF74E" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C46342.936AF74E Content-Type: text/plain; charset="koi8-r" Offcourse you have to set the entity handler to your parser instance EsXml4cDomEntityResolver* entHandler_ = new EsXml4cDomEntityResolver(warn); DOMBuilder* parserInstance_->setEntityResolver(entHandler_); DOMDocument * doc = 0; doc = parser->parseURI(fname.c_str()); header file ------------------------------------------------------ class EsXml4cDomEntityResolver : public DOMEntityResolver { public: EsXml4cDomEntityResolver(); virtual ~EsXml4cDomEntityResolver(); DOMInputSource* resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI); } cpp file ------------------------------------------------------- DOMInputSource* EsXml4cDomEntityResolver888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI) { InputSource* result = NULL; /** customize it the way you want **/ LocalFileInputSource* fileinput = NULL; str.append(catRWPrefix.c_str()); // catRWPrefix will be empty for DTDs DOMString tmp(str.c_str()); fileinput = new LocalFileInputSource(tmp.rawBuffer(), correctSid); st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ifstream in; EsXMLCh xstr(fileinput->getSystemId()); in.open(xstr.c_str()); if (in.is_open()) { result = fileinput; //st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4cout << "path + file " << xstr.c_str() << "\n str : " << str.c_str()<< "\n tmpSid :"<< tmpSid.c_str() << st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl; //printf("Correct Sid=%ws\n", correctSid); } return new Wrapper4InputSource(result); } -----Original Message----- From: Kirill.Shiff [mailto:ortegatimothy@example.org] Sent: 05 July 2004 20:23 To: ortegatimothy@example.org Subject: Re: Subject: how to use external schema? Hi Vikas, I founded your post on 'ortegatimothy@example.org' <mailto:'ortegatimothy@example.org'> . It seems I have a problem you already solved. I have external DTD file and need to use it instead of internal (ignore internal one). Could you please send some source example how you managed to achieve it? Thank you in advance Kirill > > > Hi All, > > > > > > I am trying to parse my file against a schema. Before I was parsing it > > > against a external DTD and it was working fine going through my entity > > > resolver. As soon as I try to use schema it stops going into entity > > > resolver. > > > I know I can set the schema location into the parser using > > > setExternalSchemaLocation() function but to do that I will have to > > extract > > > this info from xml file manually. I do not want to do that. I want > > > something > > > like entity resolver for schema. > > > Thanks & Regards > > > Vikas ------_=_NextPart_001_01C46342.936AF74E Content-Type: text/html; charset="koi8-r" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><SPAN class=750381810-06072004><FONT face=Arial color=#0000ff size=2>Offcourse you have to set the entity handler to your parser instance</FONT></SPAN></DIV> <DIV><SPAN class=750381810-06072004><FONT face=Arial color=#0000ff size=2>EsXml4cDomEntityResolver* entHandler_ = new EsXml4cDomEntityResolver(warn);</FONT></SPAN></DIV> <DIV>&nbsp;</DIV> <DIV><SPAN class=750381810-06072004><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;DOMBuilder* parserInstance_-&gt;setEntityResolver(entHandler_);</FONT></SPAN></DIV> <DIV><SPAN class=750381810-06072004><FONT face=Tahoma>DOMDocument * doc = 0;</FONT></SPAN></DIV> <DIV>&nbsp;</DIV> <DIV><SPAN class=750381810-06072004><FONT face=Tahoma>&nbsp;&nbsp;doc = parser-&gt;parseURI(fname.c_str());</FONT></SPAN><FONT face=Tahoma><BR><BR></FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=750522709-06072004>header file<BR></SPAN><SPAN class=750522709-06072004>------------------------------------------------------</SPAN></FONT></FONT></FONT></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>class EsXml4cDomEntityResolver : public DOMEntityResolver </SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>{<BR>public:<BR>&nbsp;EsXml4cDomEntityResolver();</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>virtual ~EsXml4cDomEntityResolver();</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMInputSource* resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>}</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>cpp file</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>-------------------------------------------------------</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMInputSource* EsXml4cDomEntityResolver888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4resolveEntity(const XMLCh* const publicId, const XMLCh* const systemId, const XMLCh* const baseURI)<BR>{</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>InputSource* result = NULL;</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>/** customize it the way you want **/</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>LocalFileInputSource* fileinput = NULL;</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>str.append(catRWPrefix.c_str()); // catRWPrefix will be empty for DTDs</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>DOMString tmp(str.c_str());</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>fileinput = new LocalFileInputSource(tmp.rawBuffer(), correctSid);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ifstream in;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EsXMLCh xstr(fileinput-&gt;getSystemId());<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in.open(xstr.c_str());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (in.is_open())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result = fileinput;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4cout &lt;&lt; "path + file " &lt;&lt; xstr.c_str() &lt;&lt; "\n str : " &lt;&lt; str.c_str()&lt;&lt; "\n tmpSid :"&lt;&lt; tmpSid.c_str() &lt;&lt; st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //printf("Correct Sid=%ws\n", correctSid);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>&nbsp;return new Wrapper4InputSource(result);</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=750522709-06072004>}</SPAN></FONT></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Kirill.Shiff [mailto:ortegatimothy@example.org]<BR><B>Sent:</B> 05 July 2004 20:23<BR><B>To:</B> ortegatimothy@example.org<BR><B>Subject:</B> Re: Subject: how to use external schema?<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>Hi <FONT size=3>Vikas,</FONT></FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>I founded your post on <A href="mailto:'ortegatimothy@example.org'">'ortegatimothy@example.org'</A>. It seems I have a problem you already solved.</FONT></DIV> <DIV><FONT face=Arial>I have external DTD file and need to use it instead of internal (ignore internal one).</FONT></DIV> <DIV><FONT face=Arial>Could you please send some source example how you managed to achieve it?</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>Thank you in advance</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial>Kirill</FONT></DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV><FONT face=Arial></FONT>&nbsp;</DIV> <DIV>&gt; &gt; &gt; Hi All,<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I am trying to parse my file against a schema. Before I was parsing it<BR>&gt; &gt; &gt; against a external DTD and it was working fine going through my entity<BR>&gt; &gt; &gt; resolver. As soon as I try to use schema it stops going into entity<BR>&gt; &gt; &gt; resolver.<BR>&gt; &gt; &gt; I know I can set the schema location into the parser using<BR>&gt; &gt; &gt; setExternalSchemaLocation() function but to do that I will have to<BR>&gt; &gt; extract<BR>&gt; &gt; &gt; this info from xml file manually. I do not want to do that. I want<BR>&gt; &gt; &gt; something<BR>&gt; &gt; &gt; like entity resolver for schema.<BR>&gt; &gt; &gt; Thanks &amp; Regards<BR>&gt; &gt; &gt; Vikas<BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C46342.936AF74E-- From xerces-cortegatimothy@example.org Tue Jul 06 11:14:40 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 81161 invoked from network); 6 Jul 2004 11:14:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 11:14:40 -0000 Received: (qmail 14404 invoked by uid 500); 6 Jul 2004 11:14:30 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 14172 invoked by uid 500); 6 Jul 2004 11:14:27 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 14056 invoked by uid 99); 6 Jul 2004 11:14:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO general.garant.ru) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 04:14:24 -0700 Received: from dk3 (dk3.garant.ru [83.161.120.155]) by general.garant.ru (8.12.9/8.12.9) with ESMTP id i66B8Pkw003454 for <ortegatimothy@example.org>; Tue, 6 Jul 2004 15:08:25 +0400 (MSD) Date: Tue, 6 Jul 2004 15:08:52 +0400 From: Kuznetsov Dmitriy <ortegatimothy@example.org> X-Mailer: The Bat! (v1.62r) Reply-To: Kuznetsov Dmitriy <ortegatimothy@example.org> X-Priority: 3 (Normal) Message-ID: <ortegatimothy@example.org> To: ortegatimothy@example.org Subject: emitError question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: milter-sender/0.55.730 (general []); Tue, 06 Jul 2004 15:08:27 +0400 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All! I'm trying to parse not existing file, but 'parse' method does not emit any exception... Simplified code is: XercesDOMParser_var parser = new XercesDOMParser; try { parser->parse (""); } catch (...) { printf ("error"); // never reached! } Debugger said that: 1. IGXMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4scanDocument turn on flag 'fInException' & call emitError 2. XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitError check that 'fErrorReporter' is false & call 'emitErrorWillThrowException': bool XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitErrorWillThrowException(const XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4odes toEmit) { // in my case: // - XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isFatal(toEmit) return true // - 'fExitOnFirstFatal' is set to true // - BUT 'fInException' was set to true on step 1 & this // method return false. So XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitError doesn't // emit fatal exception if (XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isFatal(toEmit) && fExitOnFirstFatal && !fInException) return true; return false; } Can anybody explain to me is it possible to catch (fatal) exception in such cases? --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 15:00:37 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 76610 invoked from network); 6 Jul 2004 15:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 15:00:36 -0000 Received: (qmail 85117 invoked by uid 500); 6 Jul 2004 14:37:38 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 84160 invoked by uid 500); 6 Jul 2004 14:37:17 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 83056 invoked by uid 99); 6 Jul 2004 14:37:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO general.garant.ru) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 07:37:01 -0700 Received: from dk3 (dk3.garant.ru [83.161.120.155]) by general.garant.ru (8.12.9/8.12.9) with ESMTP id i66BGbkw003898 for <ortegatimothy@example.org>; Tue, 6 Jul 2004 15:16:38 +0400 (MSD) Date: Tue, 6 Jul 2004 15:17:05 +0400 From: Kuznetsov Dmitriy <ortegatimothy@example.org> X-Mailer: The Bat! (v1.62r) Reply-To: Kuznetsov Dmitriy <ortegatimothy@example.org> X-Priority: 3 (Normal) Message-ID: <ortegatimothy@example.org> To: ortegatimothy@example.org Subject: emitError question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: milter-sender/0.55.730 (general []); Tue, 06 Jul 2004 15:16:39 +0400 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All! I'm trying to parse not existing file, but 'parse' method does not emit any exception... Simplified code is: XercesDOMParser_var parser = new XercesDOMParser; try { parser->parse (""); } catch (...) { printf ("error"); // never reached! } Debugger said that: 1. IGXMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4scanDocument turn on flag 'fInException' & call emitError 2. XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitError check that 'fErrorReporter' is false & call 'emitErrorWillThrowException': bool XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitErrorWillThrowException(const XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4odes toEmit) { // in my case: // - XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isFatal(toEmit) return true // - 'fExitOnFirstFatal' is set to true // - BUT 'fInException' was set to true on step 1 & this // method return false. So XMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mitError doesn't // emit fatal exception if (XMLErrs888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isFatal(toEmit) && fExitOnFirstFatal && !fInException) return true; return false; } Can anybody explain to me is it possible to catch (fatal) exception in such cases? --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 15:27:50 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 1086 invoked from network); 6 Jul 2004 15:27:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 15:27:49 -0000 Received: (qmail 2273 invoked by uid 500); 6 Jul 2004 15:09:47 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 2113 invoked by uid 500); 6 Jul 2004 15:09:46 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 2085 invoked by uid 99); 6 Jul 2004 15:09:44 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 06 Jul 2004 08:09:41 -0700 Received: (qmail 5363 invoked from network); 6 Jul 2004 15:10:55 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 6 Jul 2004 15:10:55 -0000 Message-ID: <191130090.1089126654991.JavaMail.apache@nagoya> Date: Tue, 6 Jul 2004 08:10:54 -0700 (PDT) From: ortegatimothy@example.org To: ortegatimothy@example.org Subject: [jira] Resolved: (XERCESC-1210) SGXMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parseSchemaLocation() using ArrayJanitor on XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4tokenizeString() result In-Reply-To: <1133113195.1084404656322.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: The following issue has been resolved as FIXED. Resolver: Alberto Massari Date: Tue, 6 Jul 2004 8:10 AM Fix is in CVS. Please verify Alberto --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1210 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1210 Summary: SGXMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parseSchemaLocation() using ArrayJanitor on XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4tokenizeString() result Type: Bug Status: Resolved Priority: Major Resolution: FIXED Project: Xerces-C++ Components: SAX/SAX2 Assignee: Reporter: Michael A Jones Created: Wed, 12 May 2004 4:30 PM Updated: Tue, 6 Jul 2004 8:10 AM Environment: GNU/Linux, gcc 3.3.2-6, Default xerces-c memory managment Description: SGXMLScanner888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parseSchemaLocation() is using mismatched ArrayJanitor class to clean memory returned by XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4tokenizeString(). XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4tokenizeString() allocates with: "new (manager) RefArrayVectorOf<XMLCh>(16, true, manager)" ArrayJanitor888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4reset() with "fMemoryManager->deallocate(fData)" The ArrayJanitor is mismatched because fData is not adjusted for the alignment / header padding created by the global call to new. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 15:37:07 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 8538 invoked from network); 6 Jul 2004 15:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 15:37:07 -0000 Received: (qmail 36808 invoked by uid 500); 6 Jul 2004 15:17:47 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 36723 invoked by uid 500); 6 Jul 2004 15:17:45 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 36584 invoked by uid 99); 6 Jul 2004 15:17:44 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 06 Jul 2004 08:17:43 -0700 Received: (qmail 6155 invoked from network); 6 Jul 2004 15:18:55 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 6 Jul 2004 15:18:55 -0000 Message-ID: <1546390510.1089127135642.JavaMail.apache@nagoya> Date: Tue, 6 Jul 2004 08:18:55 -0700 (PDT) From: ortegatimothy@example.org To: ortegatimothy@example.org Subject: [jira] Resolved: (XERCESC-1238) DomWriter does not pass MemoryManager to XMLFormatter In-Reply-To: <1944069436.1088769299906.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: The following issue has been resolved as FIXED. Resolver: Alberto Massari Date: Tue, 6 Jul 2004 8:18 AM Fix is in CVS. Please verify. Alberto --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1238 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1238 Summary: DomWriter does not pass MemoryManager to XMLFormatter Type: Bug Status: Resolved Priority: Minor Resolution: FIXED Project: Xerces-C++ Components: DOM Versions: 2.3.0 Assignee: Reporter: Michael Kopp Created: Fri, 2 Jul 2004 4:53 AM Updated: Tue, 6 Jul 2004 8:18 AM Description: file: dom/impl/DomWriterImpl.cpp function: bool DOMWriterImpl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4writeNode The first thing it does is to create a XMLFormatter. It uses its assigned MemoryManager, but fails to pass it on into the Constructor, this XMLFormatter itself will use the global MemoryManager instead of the supplied one. the line: fFormatter = new (fMemoryManager) XMLFormatter(fEncodingUsed ,fDocumentVersion ,destination ,XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4NoEscapes ,XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UnRep_CharRef); should be changed to: fFormatter = new (fMemoryManager) XMLFormatter(fEncodingUsed ,fDocumentVersion ,destination ,XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4NoEscapes ,XMLFormatter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UnRep_CharRef, fMemoryManager); It is a minor thing but in our case a performance bottleneck. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: ortegatimothy@example.org For additional commands, e-mail: ortegatimothy@example.org From xerces-cortegatimothy@example.org Tue Jul 06 15:54:45 2004 Return-Path: <xerces-cortegatimothy@example.org> Delivered-To: ortegatimothy@example.org Received: (qmail 22377 invoked from network); 6 Jul 2004 15:54:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 6 Jul 2004 15:54:44 -0000 Received: (qmail 18511 invoked by uid 500); 6 Jul 2004 15:37:48 -0000 Delivered-To: ortegatimothy@example.org Received: (qmail 18384 invoked by uid 500); 6 Jul 2004 15:37:47 -0000 Mailing-List: contact ortegatimothy@example.org; run by ezmlm Precedence: bulk Reply-To: ortegatimothy@example.org list-help: <mailto:ortegatimothy@example.org> list-unsubscribe: <mailto:ortegatimothy@example.org> list-post: <mailto:ortegatimothy@example.org> Delivered-To: mailing list ortegatimothy@example.org Received: (qmail 18252 invoked by uid 99); 6 Jul 2004 15:37:46 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=HOT_NASTY,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 06 Jul 2004 08:37:44 -0700 Received: (qmail 7723 invoked from network); 6 Jul 2004 15:38:55 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 6 Jul 2004 15:38:55 -0000 Message-ID: <561310260.1089128335771.JavaMail.apache@nagoya> Date: Tue, 6 Jul 2004 08:38:55 -0700 (PDT) From: ortegatimothy@example.org To: ortegatimothy@example.org Subject: [jira] Created: (XERCESC-1240) xml:lang attribute is not validated Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1240 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1240 Summary: xml:lang attribute is not validated Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Components: Validating Parser (Schema) (Xerces 1.5 or up only) Versions: 2.5.0 Assignee: Reporter: Alberto Massari Created: Tue, 6 Jul 2004 8:37 AM Updated: Tue, 6 Jul 2004 8:37 AM Environment: Windows XP, Visual C++ 6 Description: Given this XSD <?xml version="1.0"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!--Import for xml:lang and xml:space--> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> <xs:element name="root"> <xs:complexType> <xs:sequence> <xs:element name="tag" type="xs:string"/> </xs:sequence> <xs:attribute name="attr" type="xs:string" use="required"/> <xs:attribute ref="xml:lang" use="required"/> </xs:complexType> </xs:element> </xs:schema> that imports the "xml" namespace and requires the xml:lang attribute to be specified on the root element, and given this XML <?xml version="1.0"?> <root attr="1" xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xmllang.xsd"> <tag/> </root> that does specify the attribute, the command SAXPrint -n -s xmllang.xml reports: Error at file xmllang.xml, line 3, char 46 Message: Required attribute 'lang' was not provided The cause for this is in IGXMLScanner2.cpp, line 206 // If the uri comes back as the xmlns or xml URI or its just a name // and that name is 'xmlns', then we handle it specially. So set a // boolean flag that lets us quickly below know which we are dealing // with. const bool isNSAttr = (uriId == fXMLNSNamespaceId) || (uriId == fXMLNamespaceId) || XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quals(suffPtr, XMLUni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gXMLNSString) || XMLString888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quals(getURIText(uriId), SchemaSymbols888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gURI_XSI); When isNSAttr is true, the attribute is not put in the fAttDefRegistry map, that is later used to check if a required attribute has been found in the XML. My patch would be to remove the test for (uriId == fXMLNamespaceId) from the expression, because I don't understand why the xml:xxx attributes should be treated in the same special way of xmlns:xxx and xsi:xxx (the latter are really special attributes, but xml:lang and xml:space are not). If xml:xxx must be treated specially because of PSVI, they
{'source': 'Apache Software Foundation Public Mail Archives'}