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:


The entity is declared with a public identifier:

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

The public identifier is mapped in an SGML Open catalog:

PUBLIC "-//OReilly//NONSGML Glyph xrArr//EN"

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
  (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,
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL> <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

 DSSSList info and archive:

Current Thread