You have an ENTITY declaration for RECIPE
, but it looks like it should be an ELEMENT declaration (based on the model and the ATTLIST for RECIPE):
<!ELEMENT RECIPE (NAME,INGREDIENTS,INSTRUCTIONS) >
The NAME
ENTITY declaration looks like it really should be an ENTITY, but you need to remove the parentheses:
<!ENTITY NAME "Baking Powder Biscuits">
Also, the two ENTITY declarations that point to the .dtd files should be parameter entities if they actually contain additional declarations:
<!ENTITY % INGREDIENTS SYSTEM "Ingredients.dtd" >
<!ENTITY % INSTRUCTIONS SYSTEM "Instructions.dtd" >
You would reference them with %INGREDIENTS;
and %INSTRUCTIONS;
.
The ATTLIST for RECIPE is also incorrect. For a fixed value, try this:
<!ATTLIST RECIPE UNITS CDATA #FIXED "16 BISCUITS">