Re: openjade and DocBook: features and Unicode entity refs

Subject: Re: openjade and DocBook: features and Unicode entity refs
From: Simon Pepping <spepping@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Nov 1999 21:51:33 +0100
On Fri, Nov 19, 1999 at 01:38:05PM +0100, Peter Nilsson wrote:
> On Thu, 18 Nov 1999, Norman Walsh wrote:
> 
> > / Simon Pepping <spepping@xxxxxxxxxxxxxxxx> was heard to say:
>  > | 2. onsgmls does not recognize the entities as used:
> > | 
> > | <!ENTITY larrhk	"&#x21A9;"> <!-- LEFTWARDS ARROW WITH HOOK -->
> > | 
> > | onsgmls:/usr/local/share/sgml/dtd/docbookx-3.1.7/ent/iso-amsa.ent:15:19:E:
> > | "X21A9" is not a function name
> > 
> > You have to use the XML declaration with nsgmls if you're parsing XML
> > documents.
> > 
> > | Instead it recognizes the form shown in the documentation:
> > | 
> > | <!ENTITY larrhk	"&U-21A9;"> <!-- LEFTWARDS ARROW WITH HOOK -->
> > | 
> 
> I cant' reproduce this. Can you (the one who reported the bug:-) give a
> complete example which shows this, please.

My error. I thought I had included the xml.dcl, but I had made an
error with the command line switches. When properly included the
entities are processed fine.
 
> > 
> > Uh, does it really recognize that in the source? I think that would
> > be a bug...
> > 
> If it does, ofcourse yes.

onsgmls accepts both forms. This hacked version of iso-amsa.ent does
not generate an error message:

<!ENTITY cularr	"&U-21B6;"> <!-- ANTICLOCKWISE TOP SEMICIRCLE ARROW -->
<!ENTITY curarr	"&#x21B7;"> <!-- CLOCKWISE TOP SEMICIRCLE ARROW -->
<!ENTITY dArr	"&#x21D3;"> <!-- DOWNWARDS DOUBLE ARROW -->
 
Regards,
Simon Pepping

-- 
Simon Pepping
email: spepping@xxxxxxxxxxxxxxxx


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


Current Thread