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
missing from Parse). Please verify.
> SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse
> incorrectly
>
>
> Key: XERCESC-1328
> URL: http://issues.apache.org/j
> SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse
> incorrectly
>
>
> Key: XERCESC-1328
> URL: http://issues.apache.org/jira/browse/XERCESC-1328
>
SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse incorrectly
Key: XERCESC-1328
URL: http://issues.apache.org/jira/browse/XERCESC-1328
Project: Xerces-C++
Type: Bug
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
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
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
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
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
i/Cambridge/IBM)
|
|Subject: Apparent memory leak from SAX2XMLReader o
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
Hi There,
Whant to know how to apply a filter for SAX2XMLReader
or SAXParser.
Many thanks
Jack
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
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
Return Receipt
Your SAX2XMLReader and features?
document
the issue:
-
Key: XERCESC-1200
Summary: SAX2XMLReader sample is missing semicolons
Type: Bug
Status: Resolved
Priority: Trivial
Resolution: FIXED
Project: Xerces-C++
Components
:
-
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
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
Return Receipt
Your SAX2XMLReader and features?
document
Return Receipt
Your SAX2XMLReader and features?
document
Return Receipt
Your SAX2XMLReader and features?
document
Return Receipt
Your SAX2XMLReader and features?
document
Return Receipt
Your SAX2XMLReader and features?
document
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
//
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...).
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,
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
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
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
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
[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
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
gzilla/show_bug.cgi?id=7215
SAX2XMLReader aborts with missing DTD when validation is disabled
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RE
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
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
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
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:
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
=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
=3513
*** shadow/3513 Tue Sep 11 06:14:25 2001
--- shadow/3513.tmp.1261Tue Sep 11 13:19:31 2001
***
*** 2,9
| SAX2XMLReader leaks
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
=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
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
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
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
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
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
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
48 matches
Mail list logo