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 , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Do it properly by getting the namespace from the top? Just use regexx to remove any namespaces?