trim period text from document before comparing to period contants
This commit is contained in:
parent
772d4f7aeb
commit
a1a4b1163c
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class SyModuleParser implements ModuleParser {
|
|||
final Element updatePeriod = syndRoot.getChild("updatePeriod", getDCNamespace());
|
||||
if (updatePeriod != null) {
|
||||
foundSomething = true;
|
||||
sm.setUpdatePeriod(updatePeriod.getText());
|
||||
sm.setUpdatePeriod(updatePeriod.getText().trim());
|
||||
}
|
||||
|
||||
final Element updateFrequency = syndRoot.getChild("updateFrequency", getDCNamespace());
|
||||
|
|
Loading…
Reference in a new issue