This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Re: xsl:attribute : node already has children


I'm not sure if I ever mentioned it, but this problem is fixed in CVS.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, November 16, 2004 7:03 AM
Subject: [docbook-apps] Re: xsl:attribute : node already has children


> > * 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
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]