Module parsing fails if entry contains only elements from module namespace

Description

ModuleParser.java will not parse modules from an element if that element does not contain elements from a module's namespace. This is a problem, because, an entry may still contain attributes from the modules namespace that need to be parsed out.

One solution is to introduce a method hasAttributesFrom(Element root, Namespace ns) which checks an entry for attributes and then use that method in the logic in ModuleParsers.parseModules()

Environment

None

Activity

Show:
Martin Kurz
October 9, 2013, 1:48 PM

We recently moved to GitHub. The issue is now located here: https://github.com/rometools/rome/issues/159

Assignee

Dave Johnson

Reporter

Dave Johnson

Labels

None

Participants

None

Priority

Minor