You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Herrmann, Michael" <Mi...@softwareag.com> on 2001/02/15 10:26:16 UTC
Parameter Entities
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