This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
DOCBOOK:Réf. : Re: DOCBOOK: Default entities not working
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK:Réf. : Re: DOCBOOK: Default entities not working
- From: Philippe dot DAIGREMONT at altadis dot com
- Date: Mon, 23 Apr 2001 11:52:23 +0200
I was so happy to find a question which I can answer ... ;-)
that I didn't see Norman's answer ... 8-}
sorry...
Philippe Daigremont
Norman Walsh <ndw@nwalsh.com> le 22/04/2001 15:32:16
Pour : docbook@lists.oasis-open.org
cc :
Objet : Re: DOCBOOK: Default entities not working
/ 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
_________________________________________________________________
"This e-mail is intended for the exclusive use of the individual or
entity named above and may constitute information that is priviledged or
confidential or otherwise protected from disclosure . Dissemination ,
distribution , forwarding or copying of this e-mail by anyone other than the
intended recipient is prohibited . If you have received this e-mail in error
, please notify us and completly delete or destroy any and all electronic or
other copies of the original message"
_________________________________________________________________
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org