Ticket #353 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

MARCXMLPlugin doesn't handle namespaces

Reported by: kjdon Owned by: nobody
Priority: moderate Milestone: Next Release (2 or 3)
Component: Collection Building: Plugins Severity: major
Keywords: Cc:


Its looking for element names 'collection', 'record' etc. But if you have a file with eg 'marc:collection' and 'marc:record' then it doesn't work.

Change History

Changed 12 years ago by kjdon

Do it properly by getting the namespace from the top? Just use regexx to remove any namespaces?

Changed 12 years ago by kjdon

  • status changed from new to closed
  • resolution set to fixed

modified the XML Parser (in ReadXMLFile::new) so that namespaces are stripped out. Not sure if this will affect anything else. Currently we don't use namespaces but its likely someone might want to in future.

Note: See TracTickets for help on using tickets.