From:
Johan Van den Brande <johan [at] vandenbrande.com>
Date:
Thu, 24 Oct 2002 20:20:41 +0200
To:
andreas.koenig [at] anima.de (Andreas J. Koenig), axkit-users [at] ...
Subject:
Re: Axpoint bug with nested <point> elements
Hi, you'll need to give a level attribute: <point level="1">A</point> <point level="2">A.1</point> Johan On Thursday 24 October 2002 20:05, Andreas J. Koenig wrote: > I have some XML that breaks axpoint with this error message: > > Can't call method "get_text_pos" on an undefined value at > /usr/local/perl-5.8.0-threads/lib/site_perl/5.8.0/XML/Handler/AxPoint.pm > line 1551. > > The XML contains nested <point> elements: > > <?xml version="1.0"?> > <slideshow> > <title>NAME</title> > <metadata> > <speaker>Foo</speaker> > <email>foo [at] bar</email> > </metadata> > <slide> > <title>DESCRIPTION</title> > <point>panic: do_trans > <point>(P) The internal do_trans() routine was called with > invalid operational data. > </point> > </point> > </slide> > </slideshow> > > If I remove the inner <point>, then axpoint converts to PDF fine. I'm > not sure if nested <point> elements are allowed. If not, then > pod2axpoint.xsl from Pod-SAX-0.11 is probably to blame? > > The POD I tried to convert was perldiag.pod and Pod::SAX converted the > above paragraph to (modulo formatting): > > <listitem>panic: do_trans > <para>(P) The internal do_trans() routine was called with invalid > operational data. </para> > </listitem> > > So where's the bug? > > Thanks, -- _______________________________________________________________________ Johan Van den Brande <johan [at] vandenbrande.com> http://www.tektonica.com http://www.vandenbrande.com ....................................................................... "Besides, interesting things happen along borders - transitions - not in the middle where everything is the same." Neal Stephenson - snow crash ....................................................................... CB16E48E Johan Van den Brande <johan [at] vandenbrande.com> Fingerprint = D53E 9613 A5C6 C83B EB35 CDB4 D314 4601 CB16 E48E
Axpoint bug with nested <point> elements - Andreas J. Koenig on 24 Oct 2002 18:06:53 -0000
Re: Axpoint bug with nested <point> elements - Johan Van den Brande on 24 Oct 2002 18:20:58 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 24 Oct 2002 18:59:54 -0000
Re: Axpoint bug with nested <point> elements - Johan Van den Brande on 24 Oct 2002 19:31:16 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 25 Oct 2002 10:04:35 -0000
Re: Axpoint bug with nested <point> elements - Robin Berjon on 25 Oct 2002 12:00:45 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 25 Oct 2002 12:57:43 -0000
Re: Axpoint bug with nested <point> elements - Robin Berjon on 25 Oct 2002 14:16:00 -0000
Re: Axpoint bug with nested <point> elements - Matt Sergeant on 25 Oct 2002 14:54:02 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 25 Oct 2002 15:02:38 -0000
Re: Axpoint bug with nested <point> elements - Tod Harter on 25 Oct 2002 13:55:29 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 28 Oct 2002 17:37:08 -0000
Re: Axpoint bug with nested <point> elements - Matt Sergeant on 31 Oct 2002 16:55:42 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 1 Nov 2002 09:47:01 -0000
Re: Axpoint bug with nested <point> elements - Matt Sergeant on 1 Nov 2002 10:13:52 -0000
Re: Axpoint bug with nested <point> elements - Andreas J. Koenig on 4 Nov 2002 16:12:29 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index