Menu

#121 docbook 4.4 is not supported due to 16bit char limit

1.5.2
open
nobody
OpenSP (63)
5
2014-08-17
2006-08-15
No

docbook 4.4 documents cannot be validated because
4.4 uses ucs4 chracter entities:

onsgmls -s -e -g -c/usr/share/sgml/xml.soc clisp.xml
In entity refentry included from clisp.xml:19:0
In entity dbcent included from
<URL>http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd:123:8
In entity ISOgrk4 included from
<URL>http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod:360:9
onsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.4/ent/isogrk4.ent:42:30:E:
"1D6C2" is not a character number in the document
character set
In entity refentry included from clisp.xml:19:0
In entity dbcent included from
<URL>http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd:123:8
In entity ISOgrk4 included from
<URL>http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod:360:9
onsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.4/ent/isogrk4.ent:43:30:E:
"1D6C3" is not a character number in the document
character set

http://article.gmane.org/gmane.text.docbook.apps/15531
http://article.gmane.org/gmane.text.docbook.apps/15552

Discussion

  • Terje Bless

    Terje Bless - 2006-08-17

    Logged In: YES
    user_id=8470

    What is the contents of your '/usr/share/sgml/xml.soc'?

    (please use the "Upload and Attach a File" function)

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    /usr/share/sgml/xml.dcl

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    Logged In: YES
    user_id=5735

    $ cat /usr/share/sgml/xml.soc
    SGMLDECL "xml.dcl"
    $

    /usr/share/sgml/xml.dcl is attached

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    Logged In: YES
    user_id=5735

    just in case:
    $ uname -a
    Linux quant8 2.6.17-1.2157_FC5 #1 Tue Jul 11 22:55:46 EDT
    2006 i686 i686 i386 GNU/Linux
    $ rpm -q opensp
    opensp-1.5.2-1.2
    $ onsgmls -v
    onsgmls:I: "OpenSP" version "1.5.2"
    --- and then onsgmls HANGS!!!

     
  • Terje Bless

    Terje Bless - 2006-08-17
    • milestone: 412546 --> 1.5.2
     
  • Terje Bless

    Terje Bless - 2006-08-17

    Logged In: YES
    user_id=8470

    I can't seem to reproduce your problem on my system right
    now for some reason (are you running Fedora? Which
    version?), but I'd guess you can work around this by making
    the following changes to your xml.dcl:

    * Change both instances of "ISO Registration Number 176"
    to refer to "177".

    * Remove the comment delimiters "--" around the last four
    lines of the DESCSET section.

    Also, if you can, please attach clisp.xml so I can try to
    get this reproduced on my box. If my hunch here is right
    it's a bug in the SGML Declaration for XML shipped in the
    sgml-common package.

     
  • Terje Bless

    Terje Bless - 2006-08-17

    Logged In: YES
    user_id=8470

    Oh, and onsgmls doesn't hang, it's waiting for input. Fairly
    unintuitive for a unixy app given "-v", but there it is. :-)

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    Logged In: YES
    user_id=5735

    >> Oh, and onsgmls doesn't hang, it's waiting for input.
    yeah, I guessed that much.
    I would call that a bug, if you do not mind :-)

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    xml sample file

     
  • Sam Steingold

    Sam Steingold - 2006-08-17

    Logged In: YES
    user_id=5735

    I am running Fedora Core 5 (as indicated by the uname output).
    176-->177 bought nothing.

    >> Remove the comment delimiters "--" around the last
    >> four lines of the DESCSET section.
    I don't know what you mean.
    please attach a working xml.soc and I will try it.

     
  • Terje Bless

    Terje Bless - 2006-08-17

    SGML Declaration for XML

     

Log in to post a comment.