This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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, &apos; and &quot; are ' and "
respectively

| Also, some default entities like &lsqb;, &rsqb;, &hellip;, ...
| 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]