Dear Anthony,

I was not going to react because I am not sure I have a correct answer
here, but since I did not see an answer yet I may as well give it a try,
but again I am not sure.

> I'm having an interesting error occur (shown in subject) that I 
> can't seem to find a solution to.  I'm not sure whether it is 
> a Xerces issue or Xalan, so if I am posting to the wrong group, 
> I apologize.  

A stacktrace is a useful ally here, as it would show you in what line of
code (from what module) the error occurs (but a quick search through the
sources of both shows it's probably Xerces).

> The error occurs when I attempt to convert a processing 
> instruction into an entity reference.  Could somebody 
> please explain what this error is referring to specifically 
> and what I may need to do to correct it?

The only way in which I have seen this error is when at the top of your
DTD file you have a text declaration like
        <?xml version="1.0"?>
This is incorrect, you must specify the encoding for DTDs as well (not
for XML files), so either make it something like
        <?xml version="1.0" encoding="UTF-8"?>
or remove the declaration completely.

Maybe your introduction of the entity reference is what sparks of Xerces
to actually open the DTD file, only to run into the wellformedness error
in beginning of the file.

Kind regards,

--Sander.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to