Matthew Miguez
Matthew Miguez
Some pymods.Record functions that return sorted lists of NamedTuples including lxml elements cause comparison error when there is a repeated element. Given the structure: ```xml Cash Cash ``` pymods will...
`.strip()` list items before they are appended and returned.
This is a known issue with custom parsers: http://lxml.de/element_classes.html#element-initialization. An internal container needs to be built.
```python In [2]: rec = pymods.MODSReader('FSU_ARHHouse_1018.xml') In [3]: rec. rec.close rec.makeelement rec.copy rec.resolvers rec.error_log rec.setElementClassLookup rec.feed rec.set_element_class_lookup rec.feed_error_log rec.target rec.iterator rec.version In [3]: mods = next(rec) In [4]: mods.tag Out[4]:...
Add support for VRA Core schema and elements: https://www.loc.gov/standards/vracore/
RDA content: `text` RDA media: `computer` RDA carrier: `online resource` COAR resource type: `bachelor thesis`
For example ```xml Benjamin V. Cohen ``` returns `KeyError - sourceResource.subject: None, Can't convert 'NoneType' object to str implicitly`
Hi all, Wanted to get some of these down while they're still on my mind. Also it seemed cleaner to start a new issue just for use cases, rather than...