Again with the System Identifiers

Subject: Again with the System Identifiers
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Tue, 27 Jul 1999 13:09:17 -0400 (EDT)
I posted about this a while back, but was using an older Jade.  I
upgraded today to 1.2.1 (SP 1.3.3).

I have graphic entity references in a DocBook 3.1 document:

<GRAPHIC ENTITYREF="glyph.xrArr"></GRAPHIC>

The entity is declared with a public identifier:

<!ENTITY glyph.xrArr PUBLIC "-//OReilly//NONSGML Glyph xrArr//EN"
NDATA EPS>

The public identifier is mapped in an SGML Open catalog:

PUBLIC "-//OReilly//NONSGML Glyph xrArr//EN"
       "figures/unicode/printglyphs/xrArr.eps"

That catalog is referred to with -c on the command line.

Is there any way to get the system identifier from inside a
stylesheet?  This is my code:

(element graphic
         (let* ((format (attribute-string (norm "format")))
                (entref (debug (attribute-string (norm "entityref"))))
                (foo (debug (entity-public-id entref)))
                (bar (debug (entity-system-id entref)))
                ...

The output from this is:

jade:/usr/local/prod/sgml/dsssl/db2mif.sgm:1953:16:I: debug
  ""glyph.xrArr""
  (Jade finds the entityref attribute's value.)
jade:/usr/local/prod/sgml/dsssl/db2mif.sgm:1954:13:I: debug
  ""-//OReilly//NONSGML Glyph xrArr//EN""
  (Jade finds the public identifier for the entity.)
jade:/usr/local/prod/sgml/dsssl/db2mif.sgm:1955:13:I: debug "#f"
  (Jade can't find the system identifier.)

I assume that the DSSSL engine just doesn't have access to the
catalog.  I can work around this, though I'd rather not (having print
and on-line versions of the images is easier with catalogs); I'd like
to confirm that the catalog is irrelevant here first, though.

Thanks in advance,
Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


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


Current Thread