[open-ils-commits] r9635 - in branches/acq-experiment: . Open-ILS/src/perlmods/OpenILS/Application

svn at svn.open-ils.org svn at svn.open-ils.org
Sun May 18 17:54:03 EDT 2008


Author: erickson
Date: 2008-05-18 17:53:59 -0400 (Sun, 18 May 2008)
New Revision: 9635

Modified:
   branches/acq-experiment/
   branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
Log:
Merged revisions 9634 via svnmerge from 
svn://svn.open-ils.org/ILS/trunk

........
  r9634 | erickson | 2008-05-18 17:52:31 -0400 (Sun, 18 May 2008) | 1 line
  
  similar to the supercat feeds, we have to both define the marc namespace as well as set the namespace of the documentElement at bib create time so it can be parsed properly later
........



Property changes on: branches/acq-experiment
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk:1-9631
   + /trunk:1-9634

Modified: branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
===================================================================
--- branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2008-05-18 21:52:31 UTC (rev 9634)
+++ branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2008-05-18 21:53:59 UTC (rev 9635)
@@ -320,6 +320,7 @@
 	my $marcxml = XML::LibXML->new->parse_string( $xml );
 	$marcxml->documentElement->setNamespace( 
 		"http://www.loc.gov/MARC21/slim", "marc", 1 );
+	$marcxml->documentElement->setNamespace("http://www.loc.gov/MARC21/slim");
 	return $marcxml;
 }
 



More information about the open-ils-commits mailing list