This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] entity not resolved
- From: fellons <roberto dot felloni at gmail dot com>
- To: Bob Stayton <bobs at sagehill dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 25 Oct 2004 12:03:28 +0200
- Subject: Re: [docbook-apps] entity not resolved
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=nVaGH7qcH1sJ6+xbB5sD6z8ht50ZKZsOoJnSZ+SslqREE9liIBXjZbABmsHqoqqQ0Hs2jEvsqhNA8plPNxU9oUze/LN3gGsxhNEOHWYhCOKotD25fuczWZvJPXzXV7KwB+kBgIJsCoEVDqEH5FtyAOOT8chjM/qOBHyRdSJIJoI=
- References: <84fdc33b04101823194fcf9ed6@mail.gmail.com> <044001c4b5f9$0aad9a10$6501a8c0@toshiro> <84fdc33b04102013525d75d730@mail.gmail.com> <00c601c4b6f4$36c96420$6401a8c0@toshiro>
- Reply-to: fellons <roberto dot felloni at gmail dot com>
Hi.
Sorry, i'm too late.
During my attempt I have renamed file and declaration of entity.
What do you see is only a mistake during copy.
I have verify !!
File are named "bookidx.xml"
Entity declaration refer to "bookidx.xml"
bye
On Wed, 20 Oct 2004 15:29:07 -0700, Bob Stayton <bobs@sagehill.net> wrote:
> According to his mail, your file is named "bookindex.sgl" and your entity
> declaration is to "bookidx.xml". Did you copy those correctly?
>
>
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
> ----- Original Message -----
> From: "fellons" <roberto.felloni@gmail.com>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Wednesday, October 20, 2004 1:52 PM
> Subject: Re: [docbook-apps] entity not resolved
>
> > Hi Bob and list.
> >
> > thanks for answer.
> > I tried to validate my index.xml: nothing error, but entity are not
> resolved.
> >
> > I look entity resolved only with -noent.
> >
> > Format of file name is undertaken to "Definitive Guide" and SGML are not
> mixed;
> > Into bookindex.sgl are :
> > <index>
> > <itemizedlist id="bookindex">
> > <listitem>
> > <para>menu1</para>
> > </listitem>
> > <listitem>
> > <para>menu2</para>
> > </listitem>
> > </itemizedlist>
> > </index>
> >
> > and this are DOCTYPE
> > <!DOCTYPE book SYSTEM "/var/www/html/docbook/docbookx.dtd" [
> > <!ENTITY nbsp " ">
> > <!ENTITY indicebook SYSTEM
> "/var/www/html/xoomer/on3d/__xmlsite/bookidx.xml">
> > ]>
> >
> > Thanks for any suggestion.
> > bye by fellons
> >
> > On Tue, 19 Oct 2004 09:31:09 -0700, Bob Stayton <bobs@sagehill.net> wrote:
> > > Hi,
> > > I presume you are not mixing SGML and XML files here, despite the ".sgm"
> > > suffix on bookindex.sgm. 8^)
> > >
> > > The first thing you should try is to use the -validate option with
> xmllint.
> > > That may give you some clues.
> > >
> > > Bob Stayton
> > > Sagehill Enterprises
> > > DocBook Consulting
> > > bobs@sagehill.net
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "fellons" <roberto.felloni@gmail.com>
> > > To: <docbook-apps@lists.oasis-open.org>
> > > Sent: Monday, October 18, 2004 11:19 PM
> > > Subject: [docbook-apps] entity not resolved
> > >
> > > > Hi list, I need you.
> > > >
> > > > I'm newbie, and this is the first time I write here (normally I read
> > > only).
> > > > I'm new to docbook too.
> > > >
> > > > On my first attempts to use docbook I found that problem:
> > > >
> > > > I have an <index> tag on a file bookindex.sgm.
> > > > On my index.xml, on doctype declaration, I have inserted an entity
> > > > <!DOCTYPE .... [
> > > > <ENTITY bookindex SYSTEM "bookindex.sgm">
> > > > ]>
> > > >
> > > > after, on the same index.xml, there is
> > > > <book>
> > > > ...
> > > > &bookindex;
> > > > </book>
> > > >
> > > > The problem is than on my personal xsl, XPath don't resolve hierachy
> !
> > > > Hierarchy are solved if I cut and paste the content of bookindex.sgm
> > > > on index.xml, to substitute &bookindex;
> > > >
> > > > but xmllint with -noent resolve entity !!
> > > > (ps index.xml e bookindex.sgm are on the same directory !)
> > > >
> > > > Why this appens ?
> > > > How I can debug the problem ?
> > > >
> > > > Someone can help me, please ?
> > > > (sorry for my english)
> > > >
> > > > bye by fellons
> > > >
> > > >
> > >
> > >
> >
> >
>
>