This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: xsl:attribute : node already has children
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 16 Nov 2004 10:03:03 -0500
- Subject: [docbook-apps] Re: xsl:attribute : node already has children
- Cancel-lock: sha1:0uw4Isth0ndTVQT3/uETaKR0yB8=
- Organization: disorganization
- References: <ud5yff0vp.fsf@gnu.org> <003e01c4cb65$25f364e0$6600a8c0@toshiro>
- Reply-to: sds at gnu dot org
> * Bob Stayton <obof@fntruvyy.arg> [2004-11-15 14:47:52 -0800]:
>
> I see two errors here. The one about "node already has children" is a
> bug coming from a change that Norm made recently, so I asked him to
> look at it. The other one might be related to the first one.
xsltproc -v produced 10,583,874 lines of output, inter alia:
call-template returned: name check.id.unique
xsltChoose: test count($target) = 0
Lookup variable target
found variable target
xsltChoose: test evaluate to 0
xsltChoose: test @endterm
xsltChoose: test evaluate to 0
xsltChoose: test $target/@xreflabel
Lookup variable target
found variable target
xsltChoose: test evaluate to 0
evaluating xsl:otherwise
xsltApplyTemplates: node: xref
xsltApplyTemplates: select $target
Lookup variable target
found variable target
xsltApplyTemplates: list of 1 nodes
xsltProcessOneNode: applying template 'biblioentry|bibliomixed' for biblioentry
xsltApplyOneTemplate: copy text [
xsltCopyText: copy text [
xsltIf: test $target/title or $target/*/title
Lookup variable target
found variable target
xsltIf: test evaluate to 1
runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657 element attribute
xsl:attribute : node already has children
xsltApplyTemplates: node: xref
xsltApplyTemplates: select $target
Lookup variable target
found variable target
xsltApplyTemplates: list of 1 nodes
Handling param referrer
select .
Building variable referrer select .
Evaluating variable referrer
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT xref
ATTRIBUTE linkend
TEXT
content=amop
Handling param xrefstyle
Building variable xrefstyle
Evaluating variable xrefstyle
reusing transformation dict for RVT
xsltChoose: test @role and not(@xrefstyle) and $use.role.as.xrefstyle != 0
xsltChoose: test evaluate to 0
evaluating xsl:otherwise
xsltValueOf: select @xrefstyle
xsltCopyTextString: copy text
xsltValueOf: result
Object is an XSLT value tree :
1 TEXT
content=
xsltProcessOneNode: applying template 'biblioentry|bibliomixed' for biblioentry
the bad lines
runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657 element attribute
xsl:attribute : node already has children
come together, so there appears to be a good chance they are related
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Garbage In, Gospel Out