[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Chi si intende di SGML





Federico Di Gregorio scriveva:
>> manca il DOCTYPE, ovvero la dichiarazione del formato, quindi i vari
>> tool sgml non sanno quale DTD usare e come interpretare tag non chiusi
>> (leciti in SGML!), tag abbreviati e entity varie. prova ad aggiungere in
>> testa una riga come la seguente (ma forse non basta, perche' un
>> documento docbook deve contenere il tag BOOKINFO all'interno di un tag
>> BOOK e tu non ce l'hai...):
>>
>> <!DOCTYPE book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" []>
>> <BOOK>
>> metti il tuo file qui'...
>> </BOOK>
>>
>> e speriamo...

Il miglioramento è indubitabile, ma ci sono un mucchio di altri errori
(sempre oltre i 200 massimi), per cui ritengo che forse non vale proprio
la pena... darsi troppa pena!
Magari occorre un secondo file, andato perso, con tutte le definizioni
mancanti (non ho conoscenze di SGML)?
Ecco le prime righe dell'output d'errore, così per curiosità:
> jade:/home/rausch/pb60/getting_started2.sgm:6:9:E: element "PRODNAME" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:10:9:E: element "PLATFORM" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:12:8:E: element "PSDOCID" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:14:15:E: element "MONTH" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:16:5:E: document type does not allow element "YEAR" here
> jade:/home/rausch/pb60/getting_started2.sgm:19:6:E: element "LEGAL" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:19:15:E: element "SECTION" undefined
> jade:/home/rausch/pb60/getting_started2.sgm:21:15:E: there is no attribute "CROSSREF"
> jade:/home/rausch/pb60/getting_started2.sgm:21:33:E: there is no attribute "STEPCONTINUE"
> jade:/home/rausch/pb60/getting_started2.sgm:68:15:E: element "INTRO" undefined
> (...)
Grazie lo stesso!
Mic



--
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: