Opened 16 years ago

Closed 16 years ago

#353 closed defect (fixed)

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:

Description

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 (2)

comment:1 by kjdon, 16 years ago

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

comment:2 by kjdon, 16 years ago

Resolution: fixed
Status: newclosed

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.