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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: missing id ?!?


> 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


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


Powered by eList eXpress LLC