Lorraine,
I encountered the same problem and have not found a solution yet.
But the workaround is to make the statement
<!ENTITY % parament SYSTEM "y.dtd">
%parament;
as part of x.dtd. This may not be the way you would like to use it though.
Cheers,
Latha
-----Original Message-----
From: L Callahan [mailto:[EMAIL PROTECTED]
Sent: Monday, October 08, 2001 3:53 PM
To: [EMAIL PROTECTED]
Subject: parser exception
Hello,
Below is a minimal xml file with a DOCTYPE declaration that succeeds if
xerces 1.3.1 is used but files with a Null Pointer Exception on any
later version of xerces (such as 1.4.3). The files x.dtd and y.dtd that
the prolog references exist but are empty. A stack trace shows that the
failure occurs in the parse method of XMLParser. This contrived test
case demonstrates the same behavior that our much larger xml file and
dtd's demonstrate when the xerces 1.3.1 and 1.4.3 parsers are used.
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE document SYSTEM
"x.dtd" [
<!ENTITY % parament SYSTEM "y.dtd">
%parament; ] >
<document>
</document>
If anyone can shed some light on the reason for the error when using
xerces 1.4.3, I would really appreciate it.
Thanks,
Lorraine Callahan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]