thiell/test — Issue #115: NodeSet constructor do not raise an exception
Author: thiell
Created: 2012-03-03 16:33:48+00:00
State: open
Labels: Lib/NodeSet

When a NodeSet is created, it does not raise an Exception if the provided pattern is not used.

{{{
NodeSet("foo(1-4]") -> OK
NodeSet(NodeSet()) -> OK

NodeSet(something_else) -> Simply ignored
}}}

Moreover, the provided item is iterable, is could be nice to simply behave like {{{NodeSet.fromlist()}}}