Ci stò sbattendo la testa sopra questo documento, ma non capisco perchè mi da l'errore alla linea 19 e 21 della dtd dove richiamo l'entità CH, sapreste aiutarmi??le cose che non funzionano non si lasciano mai da parte...detto del mio Prof., cordiali saluti a tutti.
<?xml version="1.0"?>
<!DOCTYPE database[
<!ELEMENT database ( book+ )>
<!ENTITY HD "Harvey Deitel">
<!ENTITY PD "Paul Deitel">
<!ENTITY TN "Tem Nieto">
<!ENTITY %CH "(chapter, description)">
<!ELEMENT book ( author+, image*, content+, newchapters* )>
<!ATTLIST book bookID ID #REQUIRED>
<!ELEMENT author ( #PCDATA )>
<!ELEMENT image ( #PCDATA )>
<!ELEMENT content %CH;> <!-errore 1-->
<!ELEMENT newchapters %CH;>
<!ATTLIST newchapters added ( true | false ) "false">
<!ELEMENT chapter ( #PCDATA )>
<!ATTLIST chapter number CDATA #REQUIRED>
<!ELEMENT description ( section*, resources*, summary? )>
<!ELEMENT section ( #PCDATA )>
<!ELEMENT resources ( #PCDATA )>
<!ELEMENT summary ( #PCDATA )>]>
<database>
<book bookID="libro1">
<author>&HD;</author>
<author>&PD;</author>
<image></image>
<content>
<chapter number="1"></chapter>
<description>
<summary></summary>
</description>
</content>
<newchapters added="true">
<chapter number="2"></chapter>
<description>
<summary></summary>
</description>
</newchapters>
</book>
</database>

, cordiali saluti a tutti.
Rispondi quotando