Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#215 closed enhancement (fixed)

Petascope: XML schema validation should be optional

Reported by: dmisev Owned by: nkolev
Priority: trivial Milestone: 8.4.2
Component: petascope Version: 8.3
Keywords: Cc: j.yu, pcampalani
Complexity: Medium


The first request to petascope typically takes a looong time, because the XML schema validator collects/parses the XML schemas. This is necessary to pass the WCS test suite for example, but in production it is just unnecessary overhead.

So this schema validation should be optional, controlled via a parameter in, and should be disabled by default.

Change History (7)

comment:1 Changed 5 years ago by pbaumann

  • Priority changed from minor to trivial

comment:2 Changed 5 years ago by pbaumann

  • Milestone set to 8.4
  • Owner changed from dmisev to mdumitru
  • Status changed from new to assigned

comment:3 Changed 5 years ago by dmisev

  • Owner changed from mdumitru to nkolev


You should add a parameter to, e.g.


Read the parameter value in ConfigManager, and then wrap the code in XMLDescribeCoverageParser (lines 58-82 afaics) in an if based on the value of the parameter.

If you can't find any of the files just let me know. wiki:PetascopeDevGuide would be useful to check out (but don't go into the old/new database schema).

comment:4 Changed 5 years ago by pbaumann

  • Milestone changed from 8.4 to 8.5

comment:5 Changed 4 years ago by nkolev

  • Complexity set to Medium
  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 4 years ago by abeccati

  • Milestone changed from 8.5 to 8.4.2

comment:7 Changed 4 years ago by pcampalani

Feature enhanced in changeset:c6ea95c: XML validation is not narrowed to DescribeCoverage requests, but to the whole WCS.

Note: See TracTickets for help on using tickets.