This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: missing id ?!?
- To: apps docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: missing id ?!?
- From: camille <camille at mandrakesoft dot com>
- Date: Mon, 29 Oct 2001 09:55:13 +0100
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: MandrakeSoft
- References: <5.1.0.14.2.20011025181852.00b1bab8@127.0.0.1>
Hi all,
Thanks for your input, but I cannot get rid of the bug...
It seems that Saxon accesses the DTD OK, because if I put a wrong path
for the DTD in the source document, I get a fatal error.
Also, I don't know if it's related, but this is Xalan's output below.
The result is OK, including XRefs...
Any other idea?
Camille.
---------------------------------------------------------------
Cleaning up directory...
Done cleaning up.
java org.apache.xalan.xslt.Process -IN test.xml -XSL
/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl -OUT test.html
========= Parsing
file:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl
==========
Parse of file:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl
took 14540 milliseconds
========= Parsing file:/home/camille/Mandrake/learning/doc/test.xml
==========
Parse of file:/home/camille/Mandrake/learning/doc/test.xml took 5853
milliseconds
=============================
Transforming...
Parser error: Element type "l:l10n" must be declared.
Parser error: Attribute "language" must be declared for element type
"l:l10n".
Parser error: Element type "l:gentext" must be declared.
Parser error: Attribute "key" must be declared for element type
"l:gentext".
Parser error: Attribute "text" must be declared for element type
"l:gentext".
Parser error: Element type "l:gentext" must be declared.
[.....]
Parser error: Attribute "name" must be declared for element type
"l:template".
Parser error: Attribute "text" must be declared for element type
"l:template".
Parser error: The content of element type "i18n" must match "(l10n)+".
transform took 81966 milliseconds
XSLProcessor: done
---------------------------------------------------------------
Dave Pawson a écrit :
>
> At 14:09 25/10/2001 +0200, camille wrote:
> >Hi all,
> >
> >I'm running through a strange behavior, on something so simple that I
> >hesitated a lot before posting:
>
> >$ 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
>
> Two, very simple options. Hope you haven't been caught
> as I have.
>
> I. The actual id in question doesn't exist
> 2. The id exists, but isn't an ID
> (i.e. defined in the DTD as an ID)
> (i.e. is a plain text attribute which happens to be named id).
> - boy is that infuriating.
> Norm, could you tweak the error message to 'suggest' that
> its either one or the other?
> HTH DaveP
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>