Set inherited values
Merge pull request #2658 from oterral/fix_getcap

Set inherited values when parsing a GetCapabilities