This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Default entities not working
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Default entities not working
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sun, 22 Apr 2001 09:32:16 -0400
- References: <20010421180857.A20307@tanit.wanadoo.es>
/ Horacio <homega@ciberia.es> was heard to say:
| whenever I try to put the attribute value in between quotes when
| defining an entity like:
|
| <!ENTITY bsd "<systemitem class="osname">BSD</systemitem>">
|
| I get the following error message:
|
| openjade:entidades.ent:1:34:E: name start character invalid: only delimiter ">" and parameter separators are allowed
|
| Is there any substitute for double quotes for declaring entities?
Yep. Single quotes:
<!ENTITY bsd '<systemitem class="osname">BSD</systemitem>'>
or
<!ENTITY bsd "<systemitem class='osname'>BSD</systemitem>">
And if you really needed both kinds, ' and " are ' and "
respectively
| Also, some default entities like [, ], …, ...
| donīt produce the expected character output. Iīve noticed this
| also happens in some documents around the Internet. Is there any
| solution other than declaring an entity which should be declared
| by default?
It's reallly a matter of what HTML browsers understand, not the SG/XML
sources.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | It is better to waste one's youth
http://www.oasis-open.org/docbook/ | than to do nothing with it at
Chair, DocBook Technical Committee | all.--Georges Courteline
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org