*/ 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
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
gzilla/show_bug.cgi?id=24528
xercesDOMParser::loadGrammar doesnt work at all
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RE
gzilla/show_bug.cgi?id=24528
xercesDOMParser::loadGrammar doesnt work at all
[EMAIL PROTECTED] changed:
What|Removed |Added
Component|DOM |Validating Parser (
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:
gzilla/show_bug.cgi?id=21001
XercesDOMParser::loadGrammar cause seg fault
[EMAIL PROTECTED] changed:
What|Removed |Added
CC||[EMAIL PRO
gzilla/show_bug.cgi?id=23063
DOMBuilder loadGrammar DTD access violation
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Reso
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"'
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.
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
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
gzilla/show_bug.cgi?id=21001
XercesDOMParser::loadGrammar cause seg fault
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Reso
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).
--
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
gzilla/show_bug.cgi?id=21001
XercesDOMParser::loadGrammar cause seg fault
[EMAIL PROTECTED] changed:
What|Removed |Added
CC||[EMAIL PRO
gzilla/show_bug.cgi?id=21969
loadGrammar using DTDGrammarType
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Reso
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:
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
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,
gzilla/show_bug.cgi?id=21001
XercesDOMParser::loadGrammar cause seg fault
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |AS
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:
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
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
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
]]
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
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
(false);
CAgMemBufInputSource dtdInputSource(AgCPluginsXmlDtd);
parser.parse(dtdInputSource);
CAgMemBufInputSource docInputSource(g_sDoc);
parser.parse(docInputSource, true); //
<<<<< reuseGrammar
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
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
29 matches
Mail list logo