Subject: RE: openjade and DocBook: features and Unicode entity refs From: "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx> Date: Sat, 20 Nov 1999 16:46:58 +0900 |
Forget it. My fault. I was severely confused. This works for me: SP_CHARSET_FIXED=YES openjade -t tex -c catalog -d driver.dsl xml.dcl \ '<osfile encoding=xml>arrowlib.xml' My only question (to the OpenJade maintainers) is how to get '-wxml' to apply only to the source document and not the stylesheets. --FAC > -----Original Message----- > From: owner-dssslist@xxxxxxxxxxxxxxxx > [mailto:owner-dssslist@xxxxxxxxxxxxxxxx]On Behalf Of Frank A. Christoph > Sent: Saturday, November 20, 1999 4:24 PM > To: dssslist@xxxxxxxxxxxxxxxx > Subject: RE: openjade and DocBook: features and Unicode entity refs > > > Norman Walsh wrote: > > / "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx> was heard to say: > > | > You have to use the XML declaration with nsgmls if you're > parsing XML > > | > documents. > > | > > | I can verify this problem, and I am definitely using the XML > > declaration. > > | (I'm using OpenJade 1.3, BTW.) > > > > Really? If you say > > > > nsgmls <whateveroptsyouwant> xml.dcl yoursourcedoc.xml > > > > You get this error? > > No, onsgmls works fine because my document doesn't use any > numeric character > references. openjade is the problem. > > openjade -t tex -d .../devel/dbstyle/docbook/print/docbook.dsl xml.dcl > arrowlib.xml > > gives the Unicode character ref errors. It also gives me messages like: > > openjade:docbook/print/../common/dbl1no.dsl:90:19:E: general-entity > "U-2298" not > defined and no default entity > > But I neglected to specify the environment variables Dave Pawson > mentioned. > If I do that: > > SP_CHARSET_FIXED=YES SP_ENCODING=XML openjade -t tex \ > -d .../devel/dbstyle/docbook/print/docbook.dsl xml.dcl arrowlib.xml > > I get even more errors because, for example, style-sheet.dtd is not XML. > > So maybe part of the problem is that the stylesheets are being interpreted > as XML when they should be interpreted as SGML. That's the way > it's supposed > to work isn't it? Even though stylesheets and document source are supposed > to use the same SGML declaration... > > Or maybe I'm just doing something wrong... > > --FAC > > > > > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: openjade and DocBook: features , Frank A. Christoph | Thread | RE: openjade and DocBook: features , Peter Nilsson |
RE: openjade and DocBook: features , Frank A. Christoph | Date | RE: PDFJadeTeX Documentation., Sebastian Rahtz |
Month |