Skip to content

Commit

Permalink
Tidying up and starting to extend the handler
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Conflicts:
	lib/NCIP/Handler/LookupItem.pm
  • Loading branch information
ranginui committed Sep 19, 2013
1 parent 4707f5f commit ee42949
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/NCIP.pm
Expand Up @@ -106,7 +106,7 @@ sub validate {
catch {
warn "Bad xml, caught error: $_";
return;
}
};

# we could validate against the dtd here, might be good?
# my $dtd = XML::LibXML::Dtd->parse_string($dtd_str);
Expand Down
1 change: 0 additions & 1 deletion lib/NCIP/Handler/LookupItem.pm
Expand Up @@ -28,7 +28,6 @@ sub handle {
if ($xmldoc) {
# my ($item_id) = $dom->getElementsByTagNameNS( $nsURI, 'ItemId' );
}
des = $dom->getElementsByTagNameNS( $nsURI, 'NCIPMessage' );
return $self->type;
}

Expand Down

0 comments on commit ee42949

Please sign in to comment.