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


Sam,

Can you please unzip-untar the attached and drop it in your
common/ dir and then re-try your test case?

  --Mike

Sam Steingold <sds@gnu.org> writes:

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

Attachment: titles.xsl.tar.gz
Description: application/tar-gz

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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