You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "RAJARAJAN.A.L" <ra...@comneti.com> on 2001/01/10 13:20:31 UTC

DTDHandler error

Hi,
    I'm trying to parse an xml document using the Xerces SAX 2.0 parser.  I'm using DTDHandler and in the dtd I use notation declaration as

<!ENTITY OReillyCopyright SYSTEM "yes.gif" NDATA gif>
<!NOTATION gif SYSTEM "http://www.gif.com>

In the xml it is as

<JavaXML:Copyright>&OreillyCopyright;</JavaXML:Copyright>

But an exception " The unparsed entity reference "&OreillyCopyright;" is not permitted .  is thrown.  Can anyone help.

Regards,
Rajan.