On Jul 18, "H. Turgut Uyar" <[EMAIL PROTECTED]> wrote:

> All attribute paths should produce strings. That means, they should
> end in 'text()' or '@attribute'. The strings will automatically be
> joined by the joiner.

These changes make sense, and I'm convinced that we need a simple way
to express the "single" attribute (the result is a string), even if
I'm not sure _how_ to do it in a graceful way. :-)

> Extractor postprocessors are removed.

Fine - probably we'll never need it.

[test-suite]
> I tried that a few days ago, it gave some errors but I did not have
> the time to look into them.

I'm committing some changes to the test-suite, in the "dom" branch.
As usual:
  cvs -z3 -d:ext:YOUR_ACCOUNT(AT)imdbpy.cvs.sourceforge.net:/cvsroot/imdbpy co 
-P -r dom -d imdbpy-testsuite.dom imdbpy-testsuite

The compare_parsers.sh script can be used to compare old and new parsers:
it fetch the web pages and create the ".p" files using the OLD parsers.
It must be run only one time (or every time you want to update the html
pages).

After that, the usual run of:
  ./test_parser.py -t -M 2>&1 | less

will show the differences between old and new parsers.

The build_tests.py now creates its files in two directories:
standalone.new and standalone.old.


-- 
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to