not a character number in the document character set

Subject: not a character number in the document character set
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 10 Aug 1998 17:14:22 +0100
If I have an xml file that uses a dtd (mathmlx.dtd) that includes the MathML dtd and also

<!ENTITY langle  CDATA "&#12296;" -- u+3008  left angle bracket  MMALIAS   lang-->

then I can go <mo>&langle</mo>

jade appears to accept this if called as

jade -t fot -d mathml.dsl xml.dcl mathmlx.dtd examples.mml

However I don't appear to be able to enter unicode data into the dsssl
stylesheet mathml.dsl. mathml.dsl currently just starts off looking like
this:


<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [

<!ENTITY dblib SYSTEM "dblib.dsl">

<!ENTITY langle              CDATA "&#12296;" -- u+3008  left angle bracket  MMALIAS   lang-->

]>
((((lots of lovely brackets((((...

produces

jade:mathml.dsl:5:38:E: "12296" is not a character number in the document character set


I want to use "&langle;" in strings within the dsssl so that I can look
up default spacing for characters. Actually I don't really need to use
the entity names, it would be sufficient to be able to enter the unicode
characters by number, but I need to get them to be allowed first, I assume.

I tried various combinations but I think I must be missing some point
somewhere. How do I control the SGML declaration used for reading the
stylesheet, as opposed to the one used for reading the document?

Or have I just made a more basic error somewhere:-)

David


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • not a character number in the document character set
    • David Carlisle - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA06252Mon, 10 Aug 1998 12:14:00 -0400 (EDT) <=
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA09925Mon, 10 Aug 1998 12:40:16 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA12549Mon, 10 Aug 1998 12:48:55 -0400 (EDT)
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA22304Mon, 10 Aug 1998 13:44:42 -0400 (EDT)
        • David Carlisle - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA07241Tue, 11 Aug 1998 08:56:07 -0400 (EDT)