Re: Version 3.0 now available!
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-05-09 23:58:54
|
> I successfully downloaded the new version and replaced version 2.2. > However, my forum now doesn't work anymore. It doesn't cause an error, it > just returns an array of count 0. > > This is my XPathQuery, which I pass to ->match ... > > posts/post[@replyTo = '0'] > > on the document-root of data like this, submitted via ->importFromString: > > <?xml version="1.0"?> > <posts> > > <!-- "about" section --> > > <post id="43" replyTo="0"> > <title>Question</title> > <author>xyz</author> > <text>....</text> > </post> > > <post id="45" replyTo="43"> > <title>Re: Question</title> > <author>abc</author> > <text>....</text> > </post> > > <!-- ... many more posts --> > > </posts> > > The forum overview does still work the same (it checks for the latest post > and latest author). > Am I doing something wrong or is this a bug in the 3.0 beta version? Well done! You've found the first 3.0 bug. If you get the latest version out of cvs then it should work. Have added a set of tests to the test harnes so that this bug won't appear in future releases. Cheers, Nigel |