Hello,

I get the following exception:

        org.xml.sax.SAXParseException: The constraint is required after the
element type "N" in the element type declaration.
                at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
                at
org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScanner.
java:660)


when parsing this example (using the Xerces example code from DTDReader):

        <?xml version="1.0"?>

        <!DOCTYPE Problem [
                <!ENTITY % PCD "(#PCDATA)">
                <!ELEMENT N %PCD;>
        ]>

Can anyone help?

Regards,
Michael Herrmann



Reply via email to