From: Makoto O. <oni...@la...> - 2006-11-14 07:33:25
|
Steffi, Now, I finished fixing the bug. Again, please replace the Automata.h with the attached one. makoto From: Makoto ONIZUKA <oni...@la...> Subject: Re: [Xmltk-devs] bug in calling end-Context? Date: Mon, 13 Nov 2006 23:37:28 +0900 (JST) Message-ID: <200...@la...> >Steffi, > >I attached Automata.h. Please replace it with yours. >I modified State * State::createEdge(LocationStep * sp) in Automata.h. > > switch(sp->getType()){ > case LocationStep::Attribute: > // add @* edge to all states > edges->push_back(Edge(this, this, Edge::T_AnyAttribute)); > // continue; > case LocationStep::Element: > case LocationStep::Text: > case LocationStep::AnyElement: > edges->push_back(Edge(this, next, sp)); > break; > >I noticed this problem somewhat before, but I didn't consider >this mattered much. > >makoto > > >From: Makoto ONIZUKA <oni...@la...> >Subject: Re: [Xmltk-devs] bug in calling end-Context? >Date: Mon, 13 Nov 2006 18:31:12 +0900 (JST) >Message-ID: <200...@la...> > >>Steffi, >> >>I will send you the fixed version of XMLTK in >>a different e-mail. >> >>makoto >> >>From: Makoto ONIZUKA <oni...@la...> >>Subject: Re: [Xmltk-devs] bug in calling end-Context? >>Date: Mon, 13 Nov 2006 12:17:03 +0900 (JST) >>Message-ID: <200...@la...> >> >>>Steffi, >>> >>>Sorry to inform you I have the same problem with xmltk1.0.1 >>>that I modified minorly so that it can be compiled on gcc 3.4.2 >>>in linux. >>> >>>I will check to see the xmltk1.0.1. >>> >>>makoto >>> >>> >>>From: "Stefanie Scherzinger" <ste...@gm...> >>>Subject: Re: [Xmltk-devs] bug in calling end-Context? >>>Date: Sun, 12 Nov 2006 21:15:32 -0500 >>>Message-ID: <de4...@ma...> >>> >>>>Hi Makoto, >>>> >>>>thanks for your reply! >>>> >>>>> I run xrun over your XML document and obtained the following >>>>> result: >>>>>>... >>>>> >>>>> This is somewhat different from your result. Did you use >>>>> a different XPath expression? >>>> >>>>I guess there is something wrong with my code then. I had to do many >>>>changes to make it compile for gcc 3.4.6 on RedHat Linux. Maybe I >>>>introduced a bug in doing so. >>>> >>>>Is there a Linux binary available for xrun? >>>> >>>>Steffi |