OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Entity not defined


Hi,
Actually, those entities are defined in the DocBook DTD.  It seems that the processor is no longer able to find the DTD.  That is odd, given that you are using a relative path for the system identifier in the DOCTYPE.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Wednesday, October 10, 2007 12:12 PM
Subject: Re: [docbook-apps] Entity not defined

Thanks, I guess I could. But, it does not yet make sense to me to add entities because I switched from Saxon to Xlstproc. I was assuming that I need an argument to add to declare those standard entities.

Douglas

On 10/10/07, Johnson Earls <darkfoxprime@yahoo.com> wrote:
You need to define any entities you wish to use in your DOCTYPE entry.
For example:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.5 //EN'
'../../DocBook/docbook-xml/docbookx.dtd' [
<!-- HTML-like character entities -->
    <!ENTITY frac12 ''>
    <!ENTITY lsquo '''>
    <!ENTITY rsquo ''>
    <!ENTITY ldquo '"'>
    <!ENTITY rdquo '"'>
] >

- dfp

--- Douglas Wade <douglaswade@gmail.com> wrote:

> I am switching from instant saxton to xsltproc and I cannot get
> xsltproc
> parsing. It considers text entities as invalid. I did not see any
> help to
> what I have wrong. I get errors like:
>
> xml:3196: parser error : Entity 'rdquo' not defined
> enter a value of "<emphasis role="bold">60</emphasis>"
>                                                                  ^
> xml:3242: parser error : Entity 'ldquo' not defined
> s> file. Add the Technical Manual, similar to this format. "
>
>
> xsltproc --output myfile.html --stringparam use.extension 0
> ..\docbook-
> xsl-1.68.1\docbook-html.xsl UserGuideSGML.xml
> xmllint --xinclude UserGuideSGML.xml
>
>
> Thanks...
>
> Douglas
>



      ____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7





--
--
"Experience is that marvelous thing that enables you to recognize a mistake when you make it again."
-Franklin P. Jones


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]