From: miker Date: Tue, 13 Jul 2010 20:27:45 +0000 (+0000) Subject: remove even more namespace prefixes ... take THAT, IE! X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bd12c8a94fc4b4e9aed4a3ca753cda5508f459f8;p=evergreen%2Fbjwebb.git remove even more namespace prefixes ... take THAT, IE! git-svn-id: svn://svn.open-ils.org/ILS/trunk@16924 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat/Feed.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat/Feed.pm index 0690a9075..cd11a7542 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat/Feed.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat/Feed.pm @@ -439,8 +439,8 @@ sub new { my $class = shift; my $xml = shift; my $self = $class->SUPER::build($xml); - $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/', undef); $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/', 'mods'); + $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/', undef, 1); $self->{type} = 'application/xml'; $self->{holdings_xpath} = '/mods:mods'; return $self; @@ -491,8 +491,8 @@ sub new { my $class = shift; my $xml = shift; my $self = $class->SUPER::build($xml); - $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/v3', undef); $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/v3', 'mods'); + $self->{doc}->documentElement->setNamespace('http://www.loc.gov/mods/v3', undef, 1); $self->{type} = 'application/xml'; $self->{holdings_xpath} = '/mods:mods'; return $self;