Mercurial > pub > Impl
changeset 341:70658970af15
small fixes
author | cin |
---|---|
date | Mon, 24 Jun 2013 04:05:14 +0400 |
parents | c090d9102a38 |
children | 1090c1dd7429 |
files | Lib/IMPL/DOM/Navigator/SchemaNavigator.pm |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm Fri Jun 21 02:43:56 2013 +0400 +++ b/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm Mon Jun 24 04:05:14 2013 +0400 @@ -75,6 +75,8 @@ $steps ++; } + die IMPL::Exception->new("A node is expected") + unless $node; if ($node->nodeName eq 'Node') { # if we navigate to a reference # resolve it