This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Getting Rid of Character Entities in DocBook XML Docs
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Getting Rid of Character Entities in DocBook XML Docs
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Thu, 10 Aug 2000 13:45:59 -0400
- References: <Pine.LNX.4.21.0008101222570.13146-100000@miami.datech2.er.heitec.net>
- Reply-to: Norman Walsh <ndw at nwalsh dot com>
/ Holger Rauch <Holger.Rauch@heitec.de> was heard to say:
| I got a DocBook SGML V 4.1 document converted to DocBook XML V 4.1
| beta 1 using "osx" in the following manner:
Brain cramp. What's osx again?
| osx -x lower <doc>.sgml > <doc>.xml
|
| and I received several warning of the form
|
| osx:<doc>.sgml:307:15:W: reference to internal SDATA entity "nbsp" not
| allowed in XML
Well, I'm not sure what osx is trying to do. The SGML declaration for
"nbsp" uses SDATA, which isn't allowed in XML. But an equivalent
declaration exists in the XML DTD that uses a numerical character
reference.
So the short answer is, just leave it " " as is. But I don't know
how to tell osx to do that.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Few men are so sufficiently
http://www.oasis-open.org/docbook/ | discerning to appreciate all the
Chair, DocBook Technical Committee | evil that they do.--La
| Rochefoucauld