This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: missing id ?!?
- To: camille at mandrakesoft dot com, docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: missing id ?!?
- From: Bob Stayton <bobs at caldera dot com>
- Date: Thu, 25 Oct 2001 10:04:40 -0700 (PDT)
- List-Id: <docbook-apps.lists.oasis-open.org>
> From: camille <camille@mandrakesoft.com>
>
> I'm running through a strange behavior, on something so simple that I
> hesitated a lot before posting:
>
> SAXON 6.4.3
> docbook-style-xsl-1.45
>
> Thanks for your help, Camille.
>
> ------ shell interaction --------------
> $ java com.icl.saxon.StyleSheet -o test.html test.xml \
> /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl
> Error: no ID for constraint linkend: cvs.
> XRef to nonexistent id: cvs
> ----------------------------------------
>
> --------- test.xml -----------
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd">
>
> <article lang="en">
> <title>MandrakeSoft</title>
> <sect1 id="cvs">
> <title>Introduction</title>
>
> <para>First</para>
>
> </sect1>
>
> <sect1>
> <title>Directions</title>
>
> <para> Then read <xref linkend="cvs"/>.</para>
> </sect1>
>
> </article>
> --------------------------------
I usually get that error reported when the processor cannot
find the DTD. Without the DTD, it doesn't know which
attributes are of type ID and IDREF, so the XSLT id()
lookup function doesn't work.
Normally the processor should also report that it can't
find the DTD entity as well.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>