[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: onsgmls: "1D6C2" is not a character number in the document character set
> * Michael(tm) Smith <fzvgu@fvqrfubjonexre.arg> [2006-08-15 04:41:48 +0200]:
>
> Sam Steingold <sds@podval.org>, 2006-08-14 22:03 -0400:
>
>> $ onsgmls -s -e -g /usr/share/sgml/xml.soc clisp.xml
>> onsgmls:/usr/share/sgml/xml.soc:1:0:E: character "S" not allowed in prolog
>> In entity REFENTRY included from clisp.xml:19:0
>> onsgmls:/usr/share/sgml/docbook/xml-dtd-4.4-1.0-30/docbookx.dtd:116:17:E: "X20AC" is not a function name
>
> If you're sure you actually have a file at /usr/share/sgml/xml.soc,
---------------- /usr/share/sgml/xml.soc --------------
SGMLDECL "xml.dcl"
---------------- /usr/share/sgml/xml.soc --------------
> then there must be something wrong with it. When I run onsgmls with
> your file using the SGML declaration for XML that's part of the Debian
> sgml-data package (see attached), it validates fine.
---------------- /usr/share/sgml/xml.dcl --------------
<!SGML -- SGML Declaration for valid XML documents --
"ISO 8879:1986 (WWW)"
CHARSET
BASESET
"ISO Registration Number 176//CHARSET
ISO/IEC 10646-1:1993 UCS-4 with implementation
level 3//ESC 2/5 2/15 4/6"
DESCSET
0 9 UNUSED
9 2 9
11 2 UNUSED
13 1 13
14 18 UNUSED
32 95 32
127 1 UNUSED
128 32 UNUSED
-- use this instead of the official declaration because SP only
supports 16-bit characters --
160 65374 160
65534 2 UNUSED
-- 55296 2048 UNUSED
57344 8190 57344
65534 2 UNUSED
65536 1048576 65536 --
CAPACITY NONE
etc.....
---------------- /usr/share/sgml/xml.dcl --------------
same thing you have...
> <!SGML "ISO 8879:1986 (WWW)"
>
> -- SGML Declaration for XML 1.0 --
>
> -- from:
> Final text of revised Web SGML Adaptations Annex (TC2) to ISO 8879:1986
> ISO/IEC JTC1/SC34 N0029: 1998-12-06
> Annex L.2 (informative): SGML Declaration for XML
>
> changes made to accommodate validation are noted with 'VALID:'
> --
>
> CHARSET
> BASESET
> "ISO Registration Number 177//CHARSET
> ISO/IEC 10646-1:1993 UCS-4 with implementation
> level 3//ESC 2/5 2/15 4/6"
> DESCSET
> 0 9 UNUSED
> 9 2 9
> 11 2 UNUSED
> 13 1 13
> 14 18 UNUSED
> 32 95 32
> 127 1 UNUSED
> 128 32 UNUSED
> 160 55136 160
> 55296 2048 UNUSED -- surrogates --
> 57344 8190 57344
> 65534 2 UNUSED -- FFFE and FFFF --
> 65536 1048576 65536 -- 16 planes outside BMP --
>
>
>
> CAPACITY NONE -- Capacities are not restricted in XML --
--
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://honestreporting.com http://iris.org.il
http://dhimmi.com http://israelnorthblog.livejournal.com http://camera.org
Every day above ground is a good day.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]