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

sgml xml docbook - generowanie dokumentów



Witam.

Otóż spawa wygląda tak. Przygotowałem sobie dokument w formacie docbook, 
napisany w xml. Kiedy próbuję go zweryfikować pod kątem poprawności:

# onsgmls -s /usr/share/xml/declaration/xml.dcl dokument.db
dostaję coś takiego:

"...
onsgmls:dokument.db:114:439:E: non SGML character number 130
onsgmls:dokument.db:114:442:E: non SGML character number 155
onsgmls:dokument.db:115:81:E: non SGML character number 130
onsgmls:dokument.db:115:83:E: non SGML character number 133
onsgmls:I: maximum number of errors (200) reached; change with -E option"

Domyślam się, ze występują jakieś problemy z kodowaniem, więc po 
przekonwertowaniu dokumentu (iconv) na iso8859-2:

# onsgmls -s /usr/share/xml/declaration/xml.dcl dokument-iso.db

Walidacja zakończyła się bez błędów. Następnie próbuję wygenerować jakieś 
czytalne formaty, np. html.

# sgmltools --backend=html dokument-iso.db
dostaję błędy typu?

".....
/usr/bin/jade:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:52:18:E: 
"X22DF" is not a function name
/usr/bin/jade:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:53:18:E: 
"X227C" is not a function name
/usr/bin/jade:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:54:18:E: 
"X22A3" is not a function name
/usr/bin/jade:I: maximum number of errors (200) reached; change with -E option
warning: the output directory is empty
maybe you should use "-b onehtml" instead of "-b html"
"
Jakichkolwiek kombinacji poleceń bym nie używał zawsze pojawiają się takie 
błędy. Czy ktoś może spotkał się z podobnym problemem i  jest w stanie 
udzielić mi pomocy?

Pozdrawiam
-- 
Grzegorz Szymański | mailto:czadmang@poczta.fm | pgp:0x14A27314
jabber ID: czadmang@jabber.autocom.pl

-------------------------------------------------------------------------
69 tysiecy samochodow na sprzedaz! >>> http://link.interia.pl/f1916



Reply to: