Merge pull request #206 from freemarmoset/trim_period
trim period text from document before comparing to period constants
This commit is contained in:
commit
8cac90db66
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());
|
final Element updatePeriod = syndRoot.getChild("updatePeriod", getDCNamespace());
|
||||||
if (updatePeriod != null) {
|
if (updatePeriod != null) {
|
||||||
foundSomething = true;
|
foundSomething = true;
|
||||||
sm.setUpdatePeriod(updatePeriod.getText());
|
sm.setUpdatePeriod(updatePeriod.getText().trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
final Element updateFrequency = syndRoot.getChild("updateFrequency", getDCNamespace());
|
final Element updateFrequency = syndRoot.getChild("updateFrequency", getDCNamespace());
|
||||||
|
|
Loading…
Reference in a new issue