I get this error in my java servlet error doc when running scripts. My dtd declares "content", but I keep getting this error. I encluded the declaration in my dtd that lists "content" What could be causing this error?
ERROR:
2001-09-07 02:27:55 - path="" :Error: Element type "content" must be declared.: Error on line 5 of document
XML:
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE course SYSTEM "../DTD/sco_csf(5).dtd" >
<course>
<content>
dtd:
<?xml version='1.0' encoding='UTF-8' ?>
<!--Generated by XML Authority-->
<!-- sco_csf(5).dtd -->
<!ELEMENT course (globalProperties? , block , objectives?)>
<!ELEMENT content (globalProperties?, block, objectives?)>
ERROR:
2001-09-07 02:27:55 - path="" :Error: Element type "content" must be declared.: Error on line 5 of document
XML:
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE course SYSTEM "../DTD/sco_csf(5).dtd" >
<course>
<content>
dtd:
<?xml version='1.0' encoding='UTF-8' ?>
<!--Generated by XML Authority-->
<!-- sco_csf(5).dtd -->
<!ELEMENT course (globalProperties? , block , objectives?)>
<!ELEMENT content (globalProperties?, block, objectives?)>