[jira] Commented: (XERCESC-1328) SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly

2005-01-24 Thread Stefan Letz (JIRA)
cache-grammarFromParse feature is true. To make this clear, the two sentences in the note field could be combined using "and". > SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse

[jira] Resolved: (XERCESC-1328) SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly

2005-01-20 Thread cargilld (JIRA)
missing from Parse). Please verify. > SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse > incorrectly > > > Key: XERCESC-1328 > URL: http://issues.apache.org/j

[jira] Commented: (XERCESC-1328) SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly

2005-01-20 Thread cargilld (JIRA)
> SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse > incorrectly > > > Key: XERCESC-1328 > URL: http://issues.apache.org/jira/browse/XERCESC-1328 >

[jira] Created: (XERCESC-1328) SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly

2005-01-20 Thread Stefan Letz (JIRA)
SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly Key: XERCESC-1328 URL: http://issues.apache.org/jira/browse/XERCESC-1328 Project: Xerces-C++ Type: Bug

Re: Problem with SAX2XMLReader Memory Usage

2005-01-07 Thread Florian Brugger
I gave it a try and it works great now, thank you for the fix! Best regards, Florian - Original Message - From: "Alberto Massari" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 2:06 PM Subject: Re: Problem with SAX2XMLReader Memory Usage Hi Florian, a few days

Re: Problem with SAX2XMLReader Memory Usage

2005-01-06 Thread Alberto Massari
gger - Original Message - From: "Alberto Massari" <[EMAIL PROTECTED]> To: Sent: Thursday, December 23, 2004 2:31 PM Subject: Re: Problem with SAX2XMLReader Memory Usage Hi Florian, I tried the SAX2Count sample on the XML files generated by XMark (both the 115Mb and the 232Mb

Re: Problem with SAX2XMLReader Memory Usage

2005-01-06 Thread Florian Brugger
ut attributes (size: 35mb), the memory usage remains constant at 1780k. Best regards, Florian Brugger - Original Message - From: "Alberto Massari" <[EMAIL PROTECTED]> To: Sent: Thursday, December 23, 2004 2:31 PM Subject: Re: Problem with SAX2XMLReader Memory Usage Hi Fl

Re: Problem with SAX2XMLReader Memory Usage

2004-12-23 Thread Alberto Massari
using SAX2XMLReader in an application dealing with large XML files: memory consumption does not remain at the same level but rises at a constant rate. This can be easily reproduced using a large XML file with a sample application such as SAX2Count. SAX2Count memory consumption rose from ~3 mb to ~30

Problem with SAX2XMLReader Memory Usage

2004-12-13 Thread f.brugger
I have noticed a problem using SAX2XMLReader in an application dealing with large XML files: memory consumption does not remain at the same level but rises at a constant rate. This can be easily reproduced using a large XML file with a sample application such as SAX2Count. SAX2Count memory

Re: Apparent memory leak from SAX2XMLReader on parse failure

2004-07-23 Thread david_n_bertoni
i/Cambridge/IBM) | |Subject: Apparent memory leak from SAX2XMLReader o

Apparent memory leak from SAX2XMLReader on parse failure

2004-07-23 Thread Simon Kitching
error to the ErrorHandler, which throws an exception), a memory leak occurs. The VmSize field creeps steadily upward as repeated parse-fail cycles occur. Is there some kind of "reset" method that needs to be called after an ErrorHandler throws an exception in order for an SAX2XMLRea

How to use filter for SAX2XMLReader

2004-07-20 Thread jh_Zzz
Hi There,   Whant to know how to apply a filter for SAX2XMLReader or SAXParser.   Many thanks Jack

RE: SAX2XMLReader

2004-06-09 Thread Adam Heinz
PROTECTED]Subject: SAX2XMLReader Hi guys,   Could you give me a tip or a sample code on how to cast an MemBufInputSource object to an InputSource object? I need to pass an XML string to SAX2XMLReader parser instead of an xml file.   Thanks Marios

SAX2XMLReader

2004-06-09 Thread Marios Karagiannopoulos
Hi guys,   Could you give me a tip or a sample code on how to cast an MemBufInputSource object to an InputSource object? I need to pass an XML string to SAX2XMLReader parser instead of an xml file.   Thanks Marios

SAX2XMLReader and features?

2004-05-11 Thread Sarah McNamara
Return Receipt Your SAX2XMLReader and features? document

[jira] Resolved: (XERCESC-1200) SAX2XMLReader sample is missing semicolons

2004-04-22 Thread jira
the issue: - Key: XERCESC-1200 Summary: SAX2XMLReader sample is missing semicolons Type: Bug Status: Resolved Priority: Trivial Resolution: FIXED Project: Xerces-C++ Components

[jira] Created: (XERCESC-1200) SAX2XMLReader sample is missing semicolons

2004-04-22 Thread jira
: - Key: XERCESC-1200 Summary: SAX2XMLReader sample is missing semicolons Type: Bug Status: Unassigned Priority: Trivial Project: Xerces-C++ Components: Documentation Assignee: Reporter: Michael E. Dyck Created: Thu, 22 Apr 2004 1:08 AM

Re: SAX2XMLreader parsing question

2004-03-16 Thread Gareth Reakes
Hi, from a quick look at the docs this could happen when the index of the attribute you are looking for is greater than the list length. > ElementCount++; > AttrCount += attr.getLength(); Why do you += here? Do you not want the count to be the count of the attributes for each el

SAX2XMLReader and features?

2004-03-15 Thread Matthew Lovett
Return Receipt Your SAX2XMLReader and features? document

SAX2XMLReader and features?

2004-03-15 Thread david_n_bertoni
Return Receipt Your SAX2XMLReader and features? document

SAX2XMLReader and features?

2004-03-15 Thread Khaled Noaman
Return Receipt Your SAX2XMLReader and features? document

SAX2XMLReader and features?

2004-03-15 Thread Neil Delima
Return Receipt Your SAX2XMLReader and features? document

SAX2XMLReader and features?

2004-03-15 Thread Mike Boos
Return Receipt Your SAX2XMLReader and features? document

SAX2XMLReader and features?

2004-03-15 Thread Gröndal Daniel
thing seems to be missing. I'm using xerces 2.3.0 on a UNIX machine. - program snippet - XMLPlatformUtils::Initialize(); SAX2XMLReader* parser = 0; try { parser = XMLReaderFactory::createXMLReader(); TestAppErrorHandler errhandler; // my errorhandler //

SAX2XMLreader parsing question

2004-03-15 Thread David ---
Hi again, I'm building a wrapper around xerces and have started already to implement a domparser. The idea behind is that through a factory object the user instantiates automatically a dom or sax parser. Since Dom parser is working properly now(Well have to check now how it works with walkers...).

Re: SAX2XMLReader simple parsing problem. Newbie help needed

2004-03-08 Thread David ---
fixes = true; bool CoreValidation = true; SAX2XMLReader::ValSchemes valScheme = SAX2XMLReader::Val_Never; c_parser = XMLReaderFactory::createXMLReader(); c_parser->setFeature(XMLUni::fgSAX2CoreValidation,CoreValidation); c_parser->setFeature(XMLUni::fgSAX2CoreNameSpaces,

Re: SAX2XMLReader simple parsing problem. Newbie help needed

2004-03-05 Thread Alberto Massari
At 23.05 04/03/2004 +0100, David --- wrote: Hello, I'm getting a strange error message parsing an xml file with the SAX2XMLReader parser. The error is just below, the beg of the xml file just after. Can anybody help me please ?? By the way does anybody know of an irc channel for xerces ??? t

SAX2XMLReader simple parsing problem. Newbie help needed

2004-03-04 Thread David ---
Hello, I'm getting a strange error message parsing an xml file with the SAX2XMLReader parser. The error is just below, the beg of the xml file just after. Can anybody help me please ?? By the way does anybody know of an irc channel for xerces ??? thanks, david > >SAXParser inst

Re: SAX2XMLReader

2004-03-02 Thread Alberto Massari
At 22.42 02/03/2004 +0100, David --- wrote: Hi , Can anybody help with the sax parser ? I'm using the SAX2XMLReader and when i parse the file i get: Error at file 0x8077960, line 1, char 15 Message: 0x8077918 Error at file 0x8078368, line 2, char 17 Message: 0x8078320 Error at file 0x80

SAX2XMLReader

2004-03-02 Thread David ---
Hi , Can anybody help with the sax parser ? I'm using the SAX2XMLReader and when i parse the file i get: Error at file 0x8077960, line 1, char 15 Message: 0x8077918 Error at file 0x8078368, line 2, char 17 Message: 0x8078320 Error at file 0x80784b8, line 2, char 25 Message: 0x80

RE: problem with SAX2XMLReader parse()

2003-03-17 Thread Tony Dodd
[EMAIL PROTECTED] >Sent: 17 March 2003 09:22 >To: [EMAIL PROTECTED] >Subject: problem with SAX2XMLReader parse() > > >Hi, > >I've got a problem with the function parse() from >SAX2XMLReader. It reads one of my xml file, but at a line it >stops and exits. What can be the

problem with SAX2XMLReader parse()

2003-03-17 Thread Brian Warner
Hi, I've got a problem with the function parse() from SAX2XMLReader. It reads one of my xml file, but at a line it stops and exits. What can be the causes of this ? Is there a problem in my xml file ? One of my parameters perhaps ? Because I don't see why it works and then suddenly e

DO NOT REPLY [Bug 7215] - SAX2XMLReader aborts with missing DTD when validation is disabled

2002-03-18 Thread bugzilla
gzilla/show_bug.cgi?id=7215 SAX2XMLReader aborts with missing DTD when validation is disabled [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

DO NOT REPLY [Bug 7215] - SAX2XMLReader aborts with missing DTD when validation is disabled

2002-03-18 Thread bugzilla
gzilla/show_bug.cgi?id=7215 SAX2XMLReader aborts with missing DTD when validation is disabled --- Additional Comments From [EMAIL PROTECTED] 2002-03-18 19:52 --- Here is a patch that Works For Me(tm). It's probably w

DO NOT REPLY [Bug 7215] - SAX2XMLReader aborts with missing DTD when validation is disabled

2002-03-18 Thread bugzilla
gzilla/show_bug.cgi?id=7215 SAX2XMLReader aborts with missing DTD when validation is disabled --- Additional Comments From [EMAIL PROTECTED] 2002-03-18 19:51 --- Created an attachment (id=1372) patch to DTDScanner, dont read DTD file when not validating --- Additional Comments From

DO NOT REPLY [Bug 7215] - SAX2XMLReader aborts with missing DTD when validation is disabled

2002-03-18 Thread bugzilla
gzilla/show_bug.cgi?id=7215 SAX2XMLReader aborts with missing DTD when validation is disabled --- Additional Comments From [EMAIL PROTECTED] 2002-03-18 19:51 --- Created an attachment (id=1372) patch to DTDScanner, dont read DTD file when not validating --- Additional Comments From

DO NOT REPLY [Bug 7215] New: - SAX2XMLReader aborts with missing DTD when validation is disabled

2002-03-18 Thread bugzilla
gzilla/show_bug.cgi?id=7215 SAX2XMLReader aborts with missing DTD when validation is disabled Summary: SAX2XMLReader aborts with missing DTD when validation is disabled Product: Xerces-C++ Version: 1.7.0 Platform: Other OS/Version:

SAX2XMLReader::setFeature const XMLCh defines changed classes

2002-03-14 Thread David Schulze
In version 1.5.2 I was doing this : setFeature(SAX2XMLReaderImpl::SAX_CORE_NAMESPACES, true); now I have to do this instead (v1.7.0) setFeature(XMLUni::fgSAX2CoreNameSpaces, true); My problem is that I want to be able to #ifdef the code to compile one way or the other based on the version I a

[DO NOT REPLY: Bug 3513] SAX2XMLReader leaks

2001-09-12 Thread bugzilla
=3513 *** shadow/3513 Tue Sep 11 13:19:31 2001 --- shadow/3513.tmp.13760 Wed Sep 12 05:17:34 2001 *** *** 2,8 | SAX2XMLReader leaks

[DO NOT REPLY: Bug 3513] SAX2XMLReader leaks

2001-09-11 Thread bugzilla
=3513 *** shadow/3513 Tue Sep 11 06:14:25 2001 --- shadow/3513.tmp.1261Tue Sep 11 13:19:31 2001 *** *** 2,9 | SAX2XMLReader leaks

[DO NOT REPLY: Bug 3513] SAX2XMLReader leaks

2001-09-11 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3513

[DO NOT REPLY: Bug 3513] New: SAX2XMLReader leaks

2001-09-09 Thread bugzilla
=3513 *** shadow/3513 Mon Sep 10 00:16:17 2001 --- shadow/3513.tmp.3877Mon Sep 10 00:16:17 2001 *** *** 0 --- 1,79 + ++ + | SAX2XMLReader leaks

Re: Memory usage of SAX2XMLReader

2001-08-23 Thread Juergen Hermann
On Tue, 21 Aug 2001 09:54:41 -0400, Mark Northcott wrote: >I thought that SAX avoided this type of memory consumption since it is >event driven and simply notifies my custom ContentHandler as each type >of XML tag is encountered. It is. Replace your handler with an empty one, and measure mem u

RE: Memory usage of SAX2XMLReader

2001-08-21 Thread Mark Northcott
alled PlatformUtils::Terminate()). Any advice on this topic would be greatly appreciated. Mark -Original Message- From: Tinny Ng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Re: Memory usage of SAX2XMLReader This sounds similar to bugzilla bug

Re: Memory usage of SAX2XMLReader

2001-08-21 Thread Tinny Ng
This sounds similar to bugzilla bug 1329 which is now fixed in the nightly build http://xml.apache.org/dist/xerces-c/nightly/. Tinny Mark Northcott wrote: > I am working on a project that is making use of the SAX2XMLReader to > parse XML documents, and I am noticing that the par

Memory usage of SAX2XMLReader

2001-08-21 Thread Mark Northcott
I am working on a project that is making use of the SAX2XMLReader to parse XML documents, and I am noticing that the parser is consuming a large amount of memory, which steadily increases approximately 200K per sec. This is a problem for me because the product is expected to parse very large

Re: SAX2XMLReader slows down during mutli-file parse loop...

2001-06-18 Thread jkakar
Hi, Further testing is yielding strange results... I've patched in the code specified in Bug #1329 (SAX2XMLReader leaking XMLBuffers). This has had no noticeable effect in speed. By the way, why have the changes specified in this bug not made their way into the release code? I've al

SAX2XMLReader slows down during mutli-file parse loop...

2001-06-18 Thread jkakar
Hi, I'm using the SAX2XMLReader in an application that reuses the parser as it reads in several thousand XHTML files. I'm experiencing very fast parsing of the first few files but as it goes the time to parse gets longer and longer. The files are all roughly the same size. Initially