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]

[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.

I discovered that if I replace <title> with <citetitle> in

<!ENTITY amop-bib
  "<biblioentry id='amop'>
   <abbrev>AMOP</abbrev>
   <authorgroup>
    <author><firstname>Gregor</firstname><surname>Kiczales</surname></author>
    <author><firstname>Jim</firstname><surname>des Rivieres</surname></author>
    <author><firstname>Daniel G.</firstname><surname>Bobrow</surname></author>
   </authorgroup>
   <citetitle><ulink url='&mop-home;'>The Art of the Metaobject
     Protocol</ulink></citetitle>
   <pubdate>1991</pubdate> <pagenums>335 pages</pagenums>
   <isbn>0-262-61074-4</isbn>
   <publisher><publishername><ulink url='http://www-mitpress.mit.edu'>MIT
      Press</ulink></publishername></publisher>
  </biblioentry>">

(see clisp/doc/cl-ent.xml)
this error goes away.
this might help you reproduce the error,
although many other <biblioentry> elements use <title>
instead of <citetitle> without ill effects.

(this does not take care of the "Xref is only supported to listitems in
an orderedlist" message)


> ----- Original Message ----- 
> From: "Sam Steingold" <sds@gnu.org>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Monday, November 15, 2004 10:00 AM
> Subject: [docbook-apps] xsl:attribute : node already has children
>
>
>> here is what I am getting now:
>>
>> xsltproc --timing --stringparam collect.xref.targets "only" --stringparam
> targets.filename "tdb-pile.xml" pile.xsl impnotes.xml
>> Parsing stylesheet pile.xsl took 23 ms
>> Parsing document impnotes.xml took 9642 ms
>> Xref is only supported to listitems in an orderedlist:
>> runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657
> element attribute
>> xsl:attribute : node already has children
>> runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657
> element attribute
>> xsl:attribute : node already has children
>> Writing tdb-pile.xml for book(impnotes-top)
>> Applying stylesheet took 226404 ms
>> no result for impnotes.xml
>> make: *** [tdb-pile.xml] Error 9
>> xsltproc --timing --stringparam collect.xref.targets "only" --stringparam
> targets.filename "tdb-chunk.xml" chunk.xsl impnotes.xml
>> Parsing stylesheet chunk.xsl took 0 ms
>> Parsing document impnotes.xml took 7938 ms
>> Xref is only supported to listitems in an orderedlist:
>> runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657
> element attribute
>> xsl:attribute : node already has children
>> runtime error: file /usr/share/docbook-xsl/common/titles.xsl line 657
> element attribute
>> xsl:attribute : node already has children
>> Writing tdb-chunk.xml for book(impnotes-top)
>> Applying stylesheet took 261702 ms
>> no result for impnotes.xml
>>
>> what does this mean?!
>>
>> --
>> 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>
>> The paperless office will become a reality soon after the paperless
> toilet.
>>
>>
>>
>
>
>

-- 
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>
Flying is not dangerous; crashing is.


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