loadGrammar()

2004-09-17 Thread Matthew Berry
*/ Why when I call loadGrammar() and there is an problem with the schema file there is no explicit error (or warning) propagated out? For example, although a GC_ExistingGrammar exception was being thrown in GrammarResolver it dissappears. It is only possible to check that the return value is non

Question about Dom Builder's loadGrammar

2004-07-28 Thread Bryan Wilcox
Hello,    I am trying to use the DomBuilder function loadGrammar that takes a DomInputSource to cause my parser to validate using an "in-memory" schema that we have loaded from a VC++ 2003 MFC resource.  We have the grammar in a character buffer and pass it into a MemBuffInputSource whi

DO NOT REPLY [Bug 24528] - xercesDOMParser::loadGrammar doesnt work at all

2004-01-06 Thread bugzilla
gzilla/show_bug.cgi?id=24528 xercesDOMParser::loadGrammar doesnt work at all [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

DO NOT REPLY [Bug 24528] - xercesDOMParser::loadGrammar doesnt work at all

2003-11-08 Thread bugzilla
gzilla/show_bug.cgi?id=24528 xercesDOMParser::loadGrammar doesnt work at all [EMAIL PROTECTED] changed: What|Removed |Added Component|DOM |Validating Parser (

DO NOT REPLY [Bug 24528] New: - xercesDOMParser::loadGrammar doesnt work at all

2003-11-08 Thread bugzilla
gzilla/show_bug.cgi?id=24528 xercesDOMParser::loadGrammar doesnt work at all Summary: xercesDOMParser::loadGrammar doesnt work at all Product: Xerces-C++ Version: 2.3.0 Platform: PC OS/Version: Solaris Status: NEW Severity:

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-09-12 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PRO

DO NOT REPLY [Bug 23063] - DOMBuilder loadGrammar DTD access violation

2003-09-12 Thread bugzilla
gzilla/show_bug.cgi?id=23063 DOMBuilder loadGrammar DTD access violation [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 23063] - DOMBuilder loadGrammar DTD access violation

2003-09-10 Thread bugzilla
gzilla/show_bug.cgi?id=23063 DOMBuilder loadGrammar DTD access violation --- Additional Comments From [EMAIL PROTECTED] 2003-09-10 23:18 --- The showattachment file is of the format filename.tar.gz. When you gunzip, and untar it you will find two files that are "diff -u"'

DO NOT REPLY [Bug 23063] - DOMBuilder loadGrammar DTD access violation

2003-09-10 Thread bugzilla
gzilla/show_bug.cgi?id=23063 DOMBuilder loadGrammar DTD access violation --- Additional Comments From [EMAIL PROTECTED] 2003-09-10 15:16 --- Thanks for the reply. However, I don't know how to apply the patch. I got a 1k file called 'showattachment' when I clicked the link.

DO NOT REPLY [Bug 23063] - DOMBuilder loadGrammar DTD access violation

2003-09-10 Thread bugzilla
gzilla/show_bug.cgi?id=23063 DOMBuilder loadGrammar DTD access violation --- Additional Comments From [EMAIL PROTECTED] 2003-09-10 14:41 --- This looks like the problem I fixed in bug 21001. Can you apply the patch for 21001 and see if that

DO NOT REPLY [Bug 23063] New: - DOMBuilder loadGrammar DTD access violation

2003-09-10 Thread bugzilla
gzilla/show_bug.cgi?id=23063 DOMBuilder loadGrammar DTD access violation Summary: DOMBuilder loadGrammar DTD access violation Product: Xerces-C++ Version: 2.3.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Cr

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-08-19 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Reso

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-08-18 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault --- Additional Comments From [EMAIL PROTECTED] 2003-08-18 12:24 --- Created an attachment (id=7870) Proposed patch for bug 21001 (updated). --

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-07-29 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault --- Additional Comments From [EMAIL PROTECTED] 2003-07-29 20:46 --- While the patch resolves the seg fault/unexpected exception, the user who has registered a doctype handler now won't receive any events. A

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-07-29 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PRO

DO NOT REPLY [Bug 21969] - loadGrammar using DTDGrammarType

2003-07-29 Thread bugzilla
gzilla/show_bug.cgi?id=21969 loadGrammar using DTDGrammarType [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 21969] New: - loadGrammar using DTDGrammarType

2003-07-29 Thread bugzilla
gzilla/show_bug.cgi?id=21969 loadGrammar using DTDGrammarType Summary: loadGrammar using DTDGrammarType Product: Xerces-C++ Version: 2.2.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Blocker Priority:

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-07-25 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault --- Additional Comments From [EMAIL PROTECTED] 2003-07-25 19:13 --- The parser3->loadGrammar fails because there is no document (fDocument = 0) and fDocument is derefenced thus causing the seg fault. The proposed

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-07-25 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault --- Additional Comments From [EMAIL PROTECTED] 2003-07-25 19:10 --- Created an attachment (id=7521) Proposed patch for bug 21001. - To unsubscribe,

DO NOT REPLY [Bug 21001] - XercesDOMParser::loadGrammar cause seg fault

2003-06-23 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |AS

DO NOT REPLY [Bug 21001] New: - XercesDOMParser::loadGrammar cause seg fault

2003-06-22 Thread bugzilla
gzilla/show_bug.cgi?id=21001 XercesDOMParser::loadGrammar cause seg fault Summary: XercesDOMParser::loadGrammar cause seg fault Product: Xerces-C++ Version: 2.3.0 Platform: PC OS/Version: Windows XP Status: NEW Severity:

loadGrammar

2003-06-18 Thread Bagepalli, Kiran
Is it ok to do a loadGrammar on two schema definitions one which includes the other. for eg. a.xsd (imports b.xsd). loadGrammar("a.xsd"); loadGrammar("b.xsd"); Would the parser recognize that this namespace was already read and ign

Problems with loadGrammar

2003-03-11 Thread Michael Liepelt
Hi!   I have a problem that has already appeared in several postings: I want to preload a DTD from a string using loadGrammar and MemBufInputSource. This seems to work because loadGrammar returns a valid grammar object, but the subsequent parse fails with validation errors.   In the

RE: loadGrammar

2003-01-16 Thread Dean Roddey
16, 2003 12:53 AM To: [EMAIL PROTECTED] Subject: RE: loadGrammar No you will actually loose performance if you include more data. A DTD is inarguably more data so you will loose performance. If you do not need validation (and you seem not to) then do not use it. We did a simple benchmark on

RE: loadGrammar

2003-01-16 Thread Erik Rydgren
]] Sent: den 16 januari 2003 01:13 To: '[EMAIL PROTECTED]' Subject: loadGrammar I would like to know the performance benefits of loadGrammar. Actually, I have a lot of small XML files all with the same structure and has no DTD or schema reference. It takes a while to load the files. I a

loadGrammar

2003-01-15 Thread Bagepalli, Kiran
I would like to know the performance benefits of loadGrammar. Actually, I have a lot of small XML files all with the same structure and has no DTD or schema reference. It takes a while to load the files. I am creating multiple DOMParsers and scanning each document. Would the same be faster, if I

DTD Validation failure (v2.1 loadGrammar to replace former reuseGrammar flag)

2003-01-09 Thread Dupont, Sylvain
(false);           CAgMemBufInputSource dtdInputSource(AgCPluginsXmlDtd);         parser.parse(dtdInputSource);           CAgMemBufInputSource docInputSource(g_sDoc);         parser.parse(docInputSource, true); // <<<<< reuseGrammar  

Re: Use of loadGrammar on schema with import declarations

2002-11-06 Thread Tinny Ng
Scott, Just call loadGrammar() on the main schema that contains the import declarations.There is no sample yet to illustrate Preparsing Grammar, all we have right now are those documented in the Programming Guide: http://xml.apache.org/xerces-c/program-others.html#GrammarCache Tinny

Use of loadGrammar on schema with import declarations

2002-11-04 Thread Gordon, M Scott
Does the loadGrammar() method support loading a grammar that has import declarations for external namespaces? Do I need to call loadGrammar() on each of the namespaces that are imported in a schema? Or, can I just call loadGrammar() on the main schema that contains the import declarations, and